Jump to content

Site title hover color conditional to background in section

Recommended Posts

Been using code to alter the hover colour of some of the elements on my website. 

.header--menu-open:hover #site-title{
    color: #e31d1a !important;

for example, used the above to change it when the menu is open... 

 

The default hover colour for the title is #f9f9f9, which is also the colour of my pages background. Thi is not a problem on most sections of the homepage because the whole section is covered by an image. Tut there are two sections, though, without a full size image, and I would like the hover colour to change to grey when over these sections. 

This will also happen on the rest of the website's pages... Will need to code for it to change the hover colour on other pages too..

Anyone able to help?

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.