Jump to content

Change drop down colour on a specific page

Recommended Posts

Site URL: https://christinalister.co.uk/

HI there!

My site is almost there, thanks for all your support. 

I have just spotting something that I'm unsure how to change, on the resources and news page, the drop down in navy doesn't really work. Is there any custom code I can pop into the header code injection to make the text or background a different colour?But on those pages only. 

Thanks!

 

Link to comment
  • Replies 4
  • Views 653
  • Created
  • Last Reply

Hi

Use this code in Design -> Custom CSS

body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) header:not(.black) .header-nav-wrapper .header-nav-folder-item a {
    color: white !important; /* change the color */
    line-height:25px; /* remove if you don't like */
}

body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) header:not(.black) .header-nav-wrapper .header-nav-folder-content {
    background-color: #3d3d3d !important; /* change the BG color */
}

Please use the like button if it helps you!

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Link to comment
On 11/16/2020 at 4:17 PM, ninabrowndesign said:

This is fab thank you! Copied and pasted and worked a treat! 

I see some sections on tablet doesn't look good. You should check all pages on tablet. Here the code to resize text of 6 blocks on tablet.

/* home tablet poster text */
@media screen and (max-width:991px) and (min-width:641px) {
div#page-section-5f8d58caed952341d8a8b510 .image-block * {
    font-size: 18px;
}
}

image.thumb.png.ae9220562c201805512c3811b29b1ef3.png

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.