Product browser views are different: Chrome & Firefox
Hi All,
I have a slight issue with my product page. I'm using Westminster_New and currently in Chrome it shows this: http://www.selfbuildplans.co.uk/inde...roducts_id=241http://www.selfbuildplans.co.uk/inde...roducts_id=241. You will notice the 'Description, Details & Reviews' are all up under the 'add to cart' button when they should be under the images. However on the Firefox browser they are in the right place under the images.
Any thoughts?
Thanks for your help.
Re: Product browser views are different: Chrome & Firefox
Chrome "doesn't like" the <br class="clearBoth" /> tags; you can search for those within your template files and change each occurrence to <div class="clearBoth"></div> to provide FireFox/IE/Chrome interoperation.
Re: Product browser views are different: Chrome & Firefox
Hi Lat9,
Great knowledge thanks very much.
I found upgrading the ..includes/template/westminster_new/templates/tpl_product_info_display.php.. did the trick.
Thanks again.
Re: Product browser views are different: Chrome & Firefox
Oops.. something has gone wrong as none of my images are now showing. i went through about 12 files changing the 'clearboth' as you suggested and it appears this has broken the images...
Any suggestions?
Thanks.
Re: Product browser views are different: Chrome & Firefox
https://www.webauthorings.com/spaces...es-file-names/ may help. The image not showing up is listed as
Quote:
<img src="images/081 - Elevation BC.jpg"
I am curious, though, as to where the info might be on br not working in chrome. Is it spaces in the class that might be a problem or something else? The self-closing tag?
Re: Product browser views are different: Chrome & Firefox
Hi dbltoe,
Just to explain, i followed Lat9's comment about changing the 'clearboth' to a Div class and when i refreshed the site the all of the product images have disappeared, see: http://www.selfbuildplans.co.uk/inde...ndex&cPath=1_4http://www.selfbuildplans.co.uk/inde...ndex&cPath=1_4.
Not only are they missing there but when i go into the image handler 5, it says 'no images'... which is really strange.
The images are all on the server and correct, like i say it only happened after i changed the clearboth code.
Therefore i changed all of the pages back to <br class="clearBoth" /> and nothing.
(Since i have reverted the page ..includes/template/westminster_new/templates/tpl_product_info_display.php.. to <div class="clearBoth"></div>.)
Any help would be appreciated.
Also I have read your link https://www.webauthorings.com/spaces...es-file-names/ and will ensure the images are correct as i progress.
Thanks for the tip.
Re: Product browser views are different: Chrome & Firefox
It would appear that the directory identified as images off of the root of the store has either been moved, renamed, had its permissions/ownership modified, or wasn't the directory to contain the images and something has been modified in the configure.php files to not point to the correct images directory.
Images associated with the template are showing and are retrievable; however, when viewing the source code of the page, attempts to directly access the referenced images fail. This points to one or more of the above causes...
Re: Product browser views are different: Chrome & Firefox
:oops:!.. AGAIN! :frusty:
Thanks MC as i have realised my /images/ folder was inside the /includes/ folder!!... School boy error!.. not too sure how that happened... Still the site is back to normal.
Thanks for your advice.
:jawdrop: