SteveWeb2023 Posted July 28, 2023 Share Posted July 28, 2023 Hi there, Currently I am able to get my dropdown pages underlined but the main page link at the very top of the menu nav doesn't underline with hover. Is there a code fix for this? Thanks! Link to comment
tuanphan Posted July 29, 2023 Share Posted July 29, 2023 Hi, What is site url? We can check easier 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
SteveWeb2023 Posted July 30, 2023 Author Share Posted July 30, 2023 @tuanphan Site is https://rutherford-prebuild.squarespace.com/ access pw: ruthcon23 Link to comment
SteveWeb2023 Posted August 1, 2023 Author Share Posted August 1, 2023 Any insight on this? Link to comment
SteveWeb2023 Posted August 1, 2023 Author Share Posted August 1, 2023 @tuanphan is this feature a possibility in SS? Link to comment
tuanphan Posted August 3, 2023 Share Posted August 3, 2023 Just an underline or same underline effect like as dropdown items? Use this CSS code div.header-nav-item>a:hover { text-decoration: underline; } SteveWeb2023 1 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
SteveWeb2023 Posted August 5, 2023 Author Share Posted August 5, 2023 On 8/3/2023 at 5:11 AM, tuanphan said: Just an underline or same underline effect like as dropdown items? Use this CSS code div.header-nav-item>a:hover { text-decoration: underline; } Thank you works. What would be the code to have the same underline effect where it hovers across as the others? Link to comment
Solution tuanphan Posted August 7, 2023 Solution Share Posted August 7, 2023 On 8/5/2023 at 7:59 AM, SteveWeb2023 said: Thank you works. What would be the code to have the same underline effect where it hovers across as the others? Remove code I sent & use this new code div.header-nav-item>a:before { content: ''; position: absolute; width: 100%; height: 1px; left: 0; bottom: 0.1em; background-color: currentColor; transform: scalex(0); transform-origin: right; transition: transform .6s cubic-bezier(.19,1,.22,1); } div.header-nav-item>a:hover:before { transform: scalex(1); transform-origin: left; } div.header-nav-item>a { text-decoration: none !important; } SteveWeb2023 1 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
SteveWeb2023 Posted August 8, 2023 Author Share Posted August 8, 2023 On 8/7/2023 at 4:27 AM, tuanphan said: Remove code I sent & use this new code div.header-nav-item>a:before { content: ''; position: absolute; width: 100%; height: 1px; left: 0; bottom: 0.1em; background-color: currentColor; transform: scalex(0); transform-origin: right; transition: transform .6s cubic-bezier(.19,1,.22,1); } div.header-nav-item>a:hover:before { transform: scalex(1); transform-origin: left; } div.header-nav-item>a { text-decoration: none !important; } Amazing!! Thank you so much this was a huge help 🙂 tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment