Remove White Box Around Images
-
- Phoca Newbie
- Posts: 1
- Joined: 21 Jan 2016, 20:12
Remove White Box Around Images
I have found a couple topics related to removing the white box around images and categories, but none lead to a conclusive solution. I am using Phoca Gallery v4.2.2 and Joomla v3.4.8 and all I want is to never have any white boxes, shadows or padding around my thumbnail images in any view.
Tags:
- Benno
- Phoca Hero
- Posts: 9451
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Remove White Box Around Images
Hi,
this can be done via css.
Kind regards,
Benno
this can be done via css.
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 6
- Joined: 22 Jan 2012, 01:34
Re: Remove White Box Around Images
I'm having the same issue. Can you please indicate which css file needs to be edited and the code needed? Thank you in advance for your help.
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Remove White Box Around Images
Hi,
@ mhoney: Current Joomla Version is: 3.6
@ Both: released current PG is: 4.3.1
just try following: Put following codes at the end of your template.css and/or custom.css
Kind regards, Christine
@ mhoney: Current Joomla Version is: 3.6
@ Both: released current PG is: 4.3.1
just try following: Put following codes at the end of your template.css and/or custom.css
Code: Select all
.pg-cv-box, .pg-csv-box {
background-color:transparent;
box-shadow:none;
}
.pg-cv-box, .pg-csv-box, .pg-cv-box.item:hover {
background-color:transparent;
}
-
- Phoca Newbie
- Posts: 6
- Joined: 22 Jan 2012, 01:34
Re: Remove White Box Around Images
Hi Christine-
Thank you so very much for the quick response. I tried adding that code to my custom css file and unfortunately, it didn't work. Here's a link to the site (it's a test site, under development).
http://newway-web.com/testsites/gabriel ... hp/gallery
Thank you so very much for the quick response. I tried adding that code to my custom css file and unfortunately, it didn't work. Here's a link to the site (it's a test site, under development).
http://newway-web.com/testsites/gabriel ... hp/gallery
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Remove White Box Around Images
Hi k6614,
Therefore, in your case, your codes will have in addition this: "-mod-ri"
Try now:
It will work - BUT, you didn't tell me, that you have a modulek6614 wrote:I tried adding that code to my custom css file and unfortunately, it didn't work.
Therefore, in your case, your codes will have in addition this: "-mod-ri"
Try now:
Kind regards, Christine.pg-cv-box-mod-ri {
box-shadow:none;
}
-
- Phoca Newbie
- Posts: 6
- Joined: 22 Jan 2012, 01:34
Re: Remove White Box Around Images
That worked like a charm. Thank you so very much Christine!