Hi I am migrating from Joomla 2.5 to Joomla 3 and upgraded to Phocagallery 4.
After reading the documentation about CSS 3 styling I still cannot figure out how to change the border/padding/margin for the categories thumbnails.
How do I remove the border and set padding/margin to 0?
Please take a look at the temp site I am working on:
http://jenniferrubell.com/j302/projects/39-50-cakes
Thank you!
how to change the thumbnails' padding/margin/border?
-
RFCdesign
- Phoca Newbie

- Posts: 3
- Joined: 20 Mar 2015, 00:04
-
RFCdesign
- Phoca Newbie

- Posts: 3
- Joined: 20 Mar 2015, 00:04
Re: how to change the thumbnails' padding/margin/border?
When I am inspecting the page with firebug I think the below css are the one I have to change:
element.style {
height: 168px;
margin: 5px;
padding: 5px;
width: 218px;
}
.pgplugin1 {
background: none repeat scroll 0 0 #fcfcfc;
border: 1px solid #e8e8e8;
}
Anyone has an idea when do I edit these? Firebug doesn't tell me what style sheet these css are from...
Thanks!
element.style {
height: 168px;
margin: 5px;
padding: 5px;
width: 218px;
}
.pgplugin1 {
background: none repeat scroll 0 0 #fcfcfc;
border: 1px solid #e8e8e8;
}
Anyone has an idea when do I edit these? Firebug doesn't tell me what style sheet these css are from...
Thanks!
-
RFCdesign
- Phoca Newbie

- Posts: 3
- Joined: 20 Mar 2015, 00:04
Re: how to change the thumbnails' padding/margin/border?
Found it!
Just for anyone who also want to change the margin/padding/border, It is actually in plugins/content/phocagallery/phocagallery.php from line 132-142
Just for anyone who also want to change the margin/padding/border, It is actually in plugins/content/phocagallery/phocagallery.php from line 132-142
Code: Select all
$margin_box = $paramsC->get( 'margin_box', 0);
$padding_box = $paramsC->get( 'padding_box', 0);
// CSS
$font_color = $paramsC->get( 'font_color', '#b36b00');
$background_color = $paramsC->get( 'background_color', '#ffffff');
$background_color_hover = $paramsC->get( 'background_color_hover', '#ffffff');
$image_background_color = $paramsC->get( 'image_background_color', '#ffffff');
$border_color = $paramsC->get( 'border_color', '#ffffff');
$border_color_hover = $paramsC->get( 'border_color_hover', '#ffffff');
- Benno
- Phoca Hero

- Posts: 9966
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: how to change the thumbnails' padding/margin/border?
Ok.
Kind regards,
Benno
Kind regards,
Benno