Jump to content

Help - Custom css - Underlining mobile navigation menu overlay

Recommended Posts

Site URL: https://www.c2eventz.com/

Good day everyone,

I am trying to inject custom css to my mobile navigation menu using the 7.1 Clarkson template. On mobile version only, when you click the hamburger style navigation button, I would like (Home, About, and Technology) underlined to show it is a clickable link.  Most people understand how websites and mobile versions work but my clients are not as savvy. To show them it's a clickable link, I would like them underlined to show that. Any help would be greatly appreciated.

Screen Shot 2020-08-24 at 12.23.46 PM.png

Link to comment
  • Replies 7
  • Views 1.7k
  • Created
  • Last Reply

you can also use this CSS, you can adjust underline width, color,...

.container.header-menu-nav-item a {
    display: inline-block;
}
.container.header-menu-nav-item a:after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    margin-top: 10px;
}

 

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
  • 3 months later...

@tuanphan you don't happen to know how to add line breaks between your nav folders in the mobile menu overlay? also still on the topic of mobile menu overlay, do you know if is possible to have the font size larger of the nav folder than the font size of the pages within the folders? hope that makes sense? thanks so much in advance. Ross

Site is https://flatworm-finch-f4nw.squarespace.com/config/design/custom-css 

Link to comment
On 12/3/2020 at 7:34 PM, RossHarrison_1313 said:

@tuanphan you don't happen to know how to add line breaks between your nav folders in the mobile menu overlay? also still on the topic of mobile menu overlay, do you know if is possible to have the font size larger of the nav folder than the font size of the pages within the folders? hope that makes sense? thanks so much in advance. Ross

Site is https://flatworm-finch-f4nw.squarespace.com/config/design/custom-css 

I don't see nav menu. Can you share link to exact page?

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

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.