Catagories not centered - overlap right page margin

Phoca Gallery - image gallery extension
User avatar
BZone
Phoca Member
Phoca Member
Posts: 10
Joined: 08 Aug 2016, 23:49

Catagories not centered - overlap right page margin

Post by BZone »

After upgrading to PG v4.3.4 on JOOMLA v3.6.5 the Category view is correct but the Categories view is shifted to the right. I have not changed the original settings, which worked just fine. URL: http://www.maconhog.com/photos/category ... stmas-ride
Any ideas?

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

Re: Catagories not centered - overlap right page margin

Post by christine »

Hi,
BZone wrote:I have not changed the original settings, which worked just fine.
You are using Protostar. First of all: Whenever you make Core-updates: all Core-templates (Protostar & Beez) will be set back to "standard".
To avoid such override action, you should make a template copy with a new name - for the future.

The categories view looks OK, but not the category view.

I see, that there is somewhere an Inline-Element (those takes precedence), here:

<div id="phocagallery" class="pg-category-view pg-cv" style="padding-left:85px;">

You could try following now: Set following code at the end of your template.css:

Code: Select all

#phocagallery .pg-category-view, .pg-cv {
padding-left:0px !important;
}
Kind regards, Christine
User avatar
BZone
Phoca Member
Phoca Member
Posts: 10
Joined: 08 Aug 2016, 23:49

Re: Catagories not centered - overlap right page margin

Post by BZone »

Thank you very much Christine. I added the code to the phocagallery.css file and all is well now.
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Catagories not centered - overlap right page margin

Post by christine »

That's fine. Thanks for your feedback,
Kind regards, Christine
Post Reply