yogacid Posted August 17, 2020 Share Posted August 17, 2020 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 comment
tuanphan Posted August 17, 2020 Share Posted August 17, 2020 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; } 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
yogacid Posted August 17, 2020 Author Share Posted August 17, 2020 Thank you, but, it didn't work! There is still the missing fading on the words. Link to comment
tuanphan Posted August 17, 2020 Share Posted August 17, 2020 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; } 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
yogacid Posted August 17, 2020 Author Share Posted August 17, 2020 Thank you! Second one worked! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.