Jump to content

CSS Hover color not working for H3

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: http://www.oraetlabora.wine

I added the following CSS to try and change the hover color on some custom H3 text.

h3 a:hover {color: #c7c5b9 !important;}

The text I'm wanting to change is "Classes & Events; Our Story; Visit the Shop"

Right now I have it set with an opacity which is working but the color feature is not. I would prefer to use hover color instead of opacity.

Thanks!

oraetlabora.wine 
password: braevin 
page: main/home page

 

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

Top Posters In This Topic

23 minutes ago, braevin said:

Site URL: http://www.oraetlabora.wine

I added the following CSS to try and change the hover color on some custom H3 text.

h3 a:hover {color: #c7c5b9 !important;}

The text I'm wanting to change is "Classes & Events; Our Story; Visit the Shop"

Right now I have it set with an opacity which is working but the color feature is not. I would prefer to use hover color instead of opacity.

Thanks!

oraetlabora.wine 
password: braevin 
page: main/home page

 

Try this:

h3 a:hover {
  color: #c7c5b9;
}

Link to comment
  • Solution
On 9/1/2022 at 4:19 AM, braevin said:

Site URL: http://www.oraetlabora.wine

I added the following CSS to try and change the hover color on some custom H3 text.

h3 a:hover {color: #c7c5b9 !important;}

The text I'm wanting to change is "Classes & Events; Our Story; Visit the Shop"

Right now I have it set with an opacity which is working but the color feature is not. I would prefer to use hover color instead of opacity.

Thanks!

oraetlabora.wine 
password: braevin 
page: main/home page

 

Use this code

body.homepage h3 a:hover span {
    color: #c7c5b9 !important;
}

 

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

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.