Page 1 of 1

Category Drop down menu direction

Posted: Sun May 22, 2016 8:09 pm
by Djmarti13
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)

Re: Category Drop down menu direction

Posted: Tue May 31, 2016 1:53 pm
by anung
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;