MLR Posted August 14, 2020 Share Posted August 14, 2020 Site URL: https://www.ciadc.org/ Help! Just edited our menus and now the "About" dropdown menu runs off the screen. Is there a way to right justify one navigation tab dropdown (About) while leaving all others left justified? Thank you! Link to comment
tuanphan Posted August 15, 2020 Share Posted August 15, 2020 Add to Home > Design > Custom CSS .main-nav ul>li:nth-child(8) * { text-align: right !important; } #topNav nav ul li.folder-collection:nth-child(8) .subnav { left: 0 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MLR Posted August 15, 2020 Author Share Posted August 15, 2020 1 hour ago, tuanphan said: Add to Home > Design > Custom CSS .main-nav ul>li:nth-child(8) * { text-align: right !important; } #topNav nav ul li.folder-collection:nth-child(8) .subnav { left: 0 !important; } That does right-align the dropdown sub nav text, but I am looking to have the entire grey dropdown block and text right justified, to align with the "t" in the "ABOUT" top nav (similar to how the grey dropdoen block is left justified to align with the "A" in "ABOUT" now). The goal is to keep the dropdown from running off the screen. Thank you! Link to comment
tuanphan Posted August 18, 2020 Share Posted August 18, 2020 Add to Home > Design > Custom CSS /* Align last navigation */ .main-nav ul>li:last-child .subnav { right: 0 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.