Page 3 of 3

Re: detail-view pictures are not in the centre

Posted: 01 Mar 2011, 15:57
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.

Re: detail-view pictures are not in the centre

Posted: 04 Mar 2011, 01:48
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?

Re: detail-view pictures are not in the centre

Posted: 05 Mar 2011, 17:19
by Jan
Hi, then you need to step by step check the css code (comment it and test what exactly it causes)

Jan

Re: detail-view pictures are not in the centre

Posted: 07 Mar 2011, 17:12
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.

Re: detail-view pictures are not in the centre

Posted: 14 Mar 2011, 16:42
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