Post by anthgav » Fri Apr 08, 2016 5:05 pm

Hi

I have a website built on Open Cart 1.5.6.4
The site is built using a commercial theme but do not know where it's come from.
I have an issue with the $column_left loading in the wrong position on the page.

The site is a responsive site, when the width of the page gets to under 768 pixels wide the site adapts from a desktop site to a mobile site. This is where the problem lies.
When the site is viewed above 768 pixels wide the $column_left loads as expected on the left hand side of the page before the page content.
If the site is loaded under 768 pixels wide the $column_left loads after the content which isn't the expected behaviour.

This wouldn't normally be an issue as the CSS hides the $column_left when viewed under 768 pixels but when the site is viewed on a tablet and it's rotated from portrait to landscape the site adapts from mobile view to desktop view, it then unhides the $column_left, as the $column_left loaded after the content it shows up on the right hand side instead of the left.

In the template files the <?php echo $column_left; ?> is directly after <?php echo $header; ?>, so it should load before any of the content so I can't understand why this is happening. I've disabled all CSS but the issue still happens so it's not a CSS issue.

I'm guessing it could be a PHP issue in a controller file but I am struggling to work out what may be causing this.

Any advice with how to solve this would be greatly appreciated.

Thanks.

Newbie

Posts

Joined
Sat May 02, 2015 8:24 am

Post by IP_CAM » Fri Apr 08, 2016 10:47 pm

you have to play around with your Stylesheet, to fix this, I don't think, anyone would be able to know, as long as you don't know, where your Theme came from, and don't supply even a link, for someone, to have a look... :-\
Good Luck!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 9 guests