Unable to remove border from a thumbnail

Phoca Gallery - image gallery extension
Sateqla
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Jul 2009, 19:33

Unable to remove border from a thumbnail

Post by Sateqla »

Hello and first of all, thanks for a great component! Seriously thinking about donating.

It works otherwise well but I encountered this problem: I cannot remove a border from thumbnails inside a category where it shows those thumbnails of images in that particular category. I tried to modify the style setting in Parameters (Category View Settings (Thumbnails), and other sections as well) by setting the color to black (tried choosing the black, inputting color value #000000 and typing "none" in the field), and it had no effect, the border stays light gray and turns white(ish) when mouse overed. My Phoca Gallery template is Black, which I aquired from there.

I tried to find out with Firebug what it was all about, and I saw that this kind of code in the generated .html creates the border:

Code: Select all

.phocagallery-box-file {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#000000 none repeat scroll 0 0;
border:1px solid #CCCCCC;
}
I experimented with Firebug and indeed, by changing that border:1px to border:0px, the border disappeared as I wanted! Now I just don't know how to actually make that value zero for real. I even tried to modify phocagallery.css but no luck there, and then I saw Jan mention on forums that parameter-settings override that. I also tried this on Joomla default template, same thing so I don't think it's about my template. I am using Phoca Gallery 2.2.4 and Joomla 1.5.12.

Can anyone help, how could I get rid of that border?
Last edited by Sateqla on 12 Jul 2009, 15:04, edited 2 times in total.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Unable to remove border from a thumbnail

Post by caro84g »

Hi,

are you using the plugin? If so, you need to add the color to the plugin code.

Otherwise, please check the component parameters of the menu-item, 'cause these override the general parameters.
It's the second box on the right in menus > your menu > your phoca gallery menu item.

P.S. writing transparent in the box works too.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Sateqla
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Jul 2009, 19:33

Re: Unable to remove border from a thumbnail

Post by Sateqla »

Oh, absolutely wonderful, thank you!

I feel myself a bit dumb now, it indeed was right where you told, in Menu item parameters. I just didn't get that it was those parameters that were overriding the Phoca Gallery parameters. I can change many other things as well now that I found it :D

Excellent. Many thanks for pointing me to the right direction and a very fast answer. This can be regarded as solved!
Post Reply