Jump to content

Alter hover effect and text alignment in submenu

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://banjo-smilodon-g838.squarespace.com

Hi guys,

I'm currently building my website banjo-smilodon-g838.squarespace.com. There are two style options in the website navigation that I don't like. I can't find any option in the settings to adjust this, so I think this can only be done via custom code. The two issues are:

1. Currently the hover effect for the menu items is a line trough the text. I'd like it to be an underline

2. The text of the items in the drop-down sub menu (under 'Specialismes') is right aligned, I would like this to be left aligned

Would you please be so kind to help me with custom code for those two issues? I'm too much of a newbie to be able to do this myself, so your help is truly appreciated. Thanks so much.

image.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

#1. Add to Design > Custom CSS

div.header-nav-item--active>a {
    background-image: none !important;
    border-bottom: 1px solid;
}

#2. Use this CSS

.header-nav-folder-content * {
    text-align: left;
}

 

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

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.