Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Right Justify Dropdown Menu - 1 Nav tab ONLY


MLR

Question

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!

Edited by MLR
better description
Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

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;
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
Posted (edited)
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!

Edited by MLR
better description
Link to post
  • 0

Add to Home > Design > Custom CSS

/* Align last navigation */
.main-nav ul>li:last-child .subnav {
    right: 0 !important;
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...