Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Exclude a block from text link hover effects


JoseG
Go to solution Solved by tuanphan,

Question

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

Password: help

---

Hello!

Recently I applied the following code to change the color of text links on my site on hover.

#page a:hover {
    background-image: linear-gradient(to right,currentColor 100%,currentColor 0);
    color: grey;
}

This works perfectly, changing my links to this appearance on hover:
image.png.3db13cea53ce369564d300d294de1c02.png


My problem is that this also applies itself to my portfolio-hover-fixed block, but as a background color.

image.png.a6d447ad6860077863c992a89885b79d.png

I need a way to exclude the portfolio block from the code mentioned above. In other words, I want that code to apply to everything in my site, except this portfolio fixed hover section.

Any replies are very much appreciated! 🤝


url: https://www.josegallegosnieto.com/
password: help

Edited by JoseG
Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Hi. Add this to Design > Custom CSS a.portfolio-hover-item { background-image: none !important; }  

Posted Images

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...