Jump to content

Mobile version of #mainNavWrapper a[href="/about"]

Recommended Posts

Site URL: http://a-b-c.org

Hi there, 

On our non-profit's website (www.a-b-c.org), we wanted "donate" and "ABC Store" to appear in blue bubbles on the navigation bar to be more attention-grabbing. I used a custom CSS code I found online

#mainNavWrapper	.folder-toggle[data-href="/donate-1"] {
  background: #11a2e3;
  color: #ffffff;
  padding: 15px !important;
  border-radius: 30px;
}

This works when I have the browser on full size, but it doesn't work when the navigation menu is collapsed under a hamburger/ on mobile view. I'm attaching a screenshot that shows the donate folder doesn't show the customized appearance.

I'd be very grateful if anyone could help me figure out this pickle. 

Thank you!  

Problem Screenshot.JPG

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi. Use this code for mobile

[data-href="/donate-1"] {
    background: #11a2e3;
    color: #fff;
    padding: 15px !important;
    border-radius: 30px;
}

 

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 month later...

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.