Post by Djmarti13 » Sun May 22, 2016 8:09 pm

Hello everyone. I'm running Opencart version
Our shop is going to have a lot of categories and it would be a huge problem if some of them get cut off the screen like shown in the picture. My idea is to change the code somehow so categories on the right can have a dropdown to the left or just so that everything fits on the page.
I'm pretty new to opencart and didn't know where to search to fix this problem. I tried editing category.tpl and script.js inside the theme folder, but to no avail. Even the little code i found about the category dropdown did not include anything about the drop down direction
I will provide any needed information about the site code when asked. I'd be grateful for any help or recommendations as to what I should do.
(the picture iself is a little cut off, but the categories do go off the page)



Sun May 22, 2016 7:41 pm

Post by anung » Tue May 31, 2016 1:53 pm

Change the left:184px be left:-184px in superfish.css line 139 on catalog/view/theme/theme509/stylesheet/superfish.css
on this code

Code: Select all

#tm_menu div ul > li ul ul {
    border-left: 0 none;
    left: 184px;
    position: absolute;
    top: 0;

User avatar
Active Member


Fri Mar 30, 2012 10:32 am
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 8 guests