robinmandel Posted July 31 Share Posted July 31 Hello all, I've found posts that address this issue in 7.1, but I am on 7.0 York/Jasper template and can't find a solution. I'm trying to change the alignment of dropdown folders in my main navigation. Currently, the dropdown folders align with the left of the folder name, and the text links are left-justified within it. I would like to have the folder align with the right of the folder name, and have the text links within be right-justified. Why I want this: my right-most navigation menu item is a dropdown, and it hangs off the page at certain smaller sizes (see pic). Link to comment
tuanphan Posted August 1 Share Posted August 1 Hi, What is your site url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
tuanphan Posted August 3 Share Posted August 3 You can add this to Design > Custom CSS /* About item */ div.nav-item.folder:last-child .subnav { margin-left: -100px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
robinmandel Posted August 3 Author Share Posted August 3 Thanks for your reply and for this code, which works! How would I edit this to have the "Series" dropdown align in this manner as well, in addition to the "About" dropdown? And how can I get the text links inside each dropdown to align to the right of the dropdown box rather than the left? Link to comment
Solution tuanphan Posted August 4 Solution Share Posted August 4 21 hours ago, robinmandel said: Thanks for your reply and for this code, which works! How would I edit this to have the "Series" dropdown align in this manner as well, in addition to the "About" dropdown? And how can I get the text links inside each dropdown to align to the right of the dropdown box rather than the left? You can remove :last-child from the code div.nav-item.folder .subnav { margin-left: -70px !important; } div.nav-item.folder .subnav * { text-align: right !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment