Jump to content

Right Justify Dropdown Menu - 1 Nav tab ONLY

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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
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 comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.