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

Header hover animation not working on home page


dudecctv
Go to solution Solved by tuanphan,

Question

Site URL: https://howtousepsychedelics.com

So, with some help from people here and the internet, I've managed to animate the header menu items when hovering on each item, including the drop down menu. The animation is a simple fade, but, it really adds to the experience.

Anyways, the fade hover animation works perfectly on every single page of the website, EXCEPT the home page. On the home page, there is no fade hover animation. 

Can someone help me solve this issue?

So far, the code I've used include:

CSS

//Header Font Size
.header-nav-item a {
    font-size:18px !important;
}

//Stylized Folder Dropdown Menu
.header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item {
line-height: 1.6;
}

//Fix Header for Hover Effect
.tweak-transparent-header:not(.header--menu-open) .header-announcement-bar-wrapper.black .header-nav-wrapper a:hover {
opacity: .4
}

//DropDownMenu Fading
.header .header-nav .header-nav-item--folder .header-nav-folder-content {
  transition: ease-in-out 0.5s;
}

 

Thank you for your help and input!

Take care.

Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

try edit this //Fix Header for Hover Effect body:not(.header--menu-open) .header-announcement-bar-wrapper.black .header-nav-wrapper a:hover { opacity: .4 !important; } to this //Fix Header

4 answers to this question

Recommended Posts

  • 1

try edit this

//Fix Header for Hover Effect
body:not(.header--menu-open) .header-announcement-bar-wrapper.black .header-nav-wrapper a:hover {
opacity: .4 !important;
}

to this

//Fix Header for Hover Effect
body:not(.header--menu-open) .header-announcement-bar-wrapper .header-nav-wrapper a:hover {
opacity: .4 !important;
}

 

Link to post
  • 0

Edit your code to this

//Header Font Size
.header-nav-item a {
    font-size:18px !important;
}

//Stylized Folder Dropdown Menu
.header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item {
line-height: 1.6;
}

//Fix Header for Hover Effect
body:not(.header--menu-open) .header-announcement-bar-wrapper.black .header-nav-wrapper a:hover {
opacity: .4 !important;
}

//DropDownMenu Fading
.header .header-nav .header-nav-item--folder .header-nav-folder-content {
  transition: ease-in-out 0.5s;
}

 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...