Remove Categorie Shadowbox

Phoca Gallery - image gallery extension
MySigma
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 03 Sep 2012, 11:22

Remove Categorie Shadowbox

Post by MySigma »

Hi!

Am I'm blind? I'm trying to remove the Shadowbox from the main category view (not detail or categories!!). Is it possible to deactivate the shadowbox? I've found the CSS style (.pg-cats-box-float2) but I don't want to remove it from the CSS file because the changes would be lost with the next update.

The reason why I want to remove it... It doesn't fit with the responsive view. The text is partially outside of the box and the box-size is not adjusted correctly.

Thank you!
Manfred

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Remove Categorie Shadowbox

Post by christine »

Hi Manfred,
MySigma wrote:I've found the CSS style (.pg-cats-box-float2)
which PG version are you using? It seems you will use legacy options.
but I don't want to remove it from the CSS file because the changes would be lost with the next update.
In generell you are right, but amendments to CSS file could be done, if you put required CSS segment at the end of e.g. template.css or custom.css etc.
Kind regards, Christine
MySigma
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 03 Sep 2012, 11:22

Re: Remove Categorie Shadowbox

Post by MySigma »

Hi Christine,

Thank you for your response. I'm currently using PG 4.3.4!

I've found the CSS style with Firebug and it is located in the file "...media/com_phocagallery/css/custom/default.css". To get the box removed I would have to deactivate/remove "{box-shadow: ...}". So, what would be the best way to remove the box without losing the changes after a PG update?

Kind regards,
Manfred
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Remove Categorie Shadowbox

Post by christine »

Hi Manfred,

try following: put below code at the end of your template.css and/or custom.css (depends on template)

Code: Select all

.pg-cats-box-float2 {
box-shadow:none; }
Kind regards, Christine
MySigma
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 03 Sep 2012, 11:22

Re: Remove Categorie Shadowbox

Post by MySigma »

Hi Christine,

Looks good :)

Thank you and kind regards,
Manfred
Post Reply