Jump to content

Right Justify Dropdown Menu - 1 Nav tab ONLY

Recommended Posts

  • Replies 3
  • Views 538
  • Created
  • Last Reply
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.