Make sub-menus in nav open left instead of right


#4391 (In Topic #920)
Standard member
Joe is in the usergroup ‘Honoured member’
I moved the nav to the right side of the screen in my theme. Only problem now is, if the last two dropdown menus on the right have sub-children (children of the children), those menus are cut off since they extend to the right and past the window.

Is there a way to make those sub-menus open to the left instead of the right?
Online now: No Back to the top


Site director
Chris Graham is in the usergroup ‘Administrators’
That's probably going to require some JS changes. The JS template file is menu_popup.js.

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.


Users online:

mytracker, Salman, Vaiva, Paul D, Manu, Tom McMasters, 112 guests

Forum statistics:
  • 1,045 topics, 4,975 posts, 5,747 members
  • Our newest member is craig9021
Back to Top