XF 2.2 hover effect problem

Garfield™

Member
How can I fix this situation? I want it to remain black and underlined as in the default theme

now it turns white when hovering over it unfortunately

 

Attachments

  • Ekran görüntüsü 2022-02-18 150451.webp
    Ekran görüntüsü 2022-02-18 150451.webp
    20.3 KB · Views: 10
Solution
Garfield, search your extra.less template for this CSS rule and delete it:

Code:
a:hover {
  color: rgba(253,253,253,0.75);
  text-decoration: underline;
  text-decoration: none;
  transition: 0.5s;}
Garfield, search your extra.less template for this CSS rule and delete it:

Code:
a:hover {
  color: rgba(253,253,253,0.75);
  text-decoration: underline;
  text-decoration: none;
  transition: 0.5s;}
 
Solution
Garfield, search your extra.less template for this CSS rule and delete it:

Code:
a:hover {
  color: rgba(253,253,253,0.75);
  text-decoration: underline;
  text-decoration: none;
  transition: 0.5s;}


Code:
a:hover {
  color: #000;
  text-decoration: underline;
  text-decoration: none;
  transition: 0.5s;
  text-decoration: underline;
}

When I edited and added the code like this, it worked. but the navbar has covered the menu. How do I do this, let the navbar menu be excluded from this application?

I don't want the navbar menu to be black
 

Attachments

  • Ekran görüntüsü 2022-02-18 150451.webp
    Ekran görüntüsü 2022-02-18 150451.webp
    21 KB · Views: 2
Back
Top Bottom