Page 1 of 1

Remove Categorie Shadowbox

Posted: 01 Feb 2017, 15:50
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

Re: Remove Categorie Shadowbox

Posted: 01 Feb 2017, 18:59
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

Re: Remove Categorie Shadowbox

Posted: 02 Feb 2017, 09:34
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

Re: Remove Categorie Shadowbox

Posted: 02 Feb 2017, 13:14
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

Re: Remove Categorie Shadowbox

Posted: 02 Feb 2017, 17:51
by MySigma
Hi Christine,

Looks good :)

Thank you and kind regards,
Manfred