detail-view pictures are not in the centre

Phoca Gallery - image gallery extension
nashford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Mar 2011, 15:35

Re: detail-view pictures are not in the centre

Post by nashford »

category-view and detail-view pictures are not in the centre

After some research I have found that in category-view my constant.css is knocking the images off center and in detail-view my template.css is also knocking images off center.

Can someone advise what I can do to stop the 2 css files mentioned above overwriting the phocagallery.css?

I have tried implementing what has previously been mentioned without any luck...any help or advice will be greatly appreciated.
nashford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Mar 2011, 15:35

Re: detail-view pictures are not in the centre

Post by nashford »

Thanks for the reply. I used firebug to determine that its conflictng with constant.css in category-view and template.css in detail-view.

Any idea on how to stop css conflicts?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: detail-view pictures are not in the centre

Post by Jan »

Hi, then you need to step by step check the css code (comment it and test what exactly it causes)

Jan
If you find Phoca extensions useful, please support the project
nashford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Mar 2011, 15:35

Re: detail-view pictures are not in the centre

Post by nashford »

OK...I have sorted out the detail-view but this is the code that is in my template.css that is causing me the problems:

}
.modal-button, .readmore a, div.blank a {float:left; padding:0 0px; margin:0px 1px 0px 0px;}
#editor-xtd-buttons {padding:5px 0px 5px 0px; overflow:hidden; width:500px; float:left}

Can you advise on what I can do to stop this overiding the phocagallery.css?

Thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: detail-view pictures are not in the centre

Post by Jan »

Hi, really no idea, this must be tested on your site. :-( you need to test it (delete it, delete it paritally, etc.) and recognize, if this is no wrong influence on other parts of your site.

Jan
If you find Phoca extensions useful, please support the project
Post Reply