skalison Posted March 13, 2022 Posted March 13, 2022 Site URL: https://preservationframer.squarespace.com/ Hi! I'm looking for some help within the navigation of this site. When you hover over the navigation links there is an orange underline except for when you are on either of the Services pages ("Custom Framing" & "Restoration + Printing"). For example, if I'm on the "Custom Framing" page and want to navigate over to "Restoration + Printing" the orange underline animation does not appear like it did on the home page. https://preservationframer.squarespace.com/ PW: Preservation123!
tuanphan Posted March 14, 2022 Posted March 14, 2022 Add to Design > Custom CSS /* Nav folder item hover underline */ div.header-nav-folder-item a:hover { border-bottom: 2px solid #dd7740; } div.header-nav-folder-item a { border-bottom: 2px solid transparent; } 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!)
skalison Posted March 14, 2022 Author Posted March 14, 2022 19 hours ago, tuanphan said: Add to Design > Custom CSS /* Nav folder item hover underline */ div.header-nav-folder-item a:hover { border-bottom: 2px solid #dd7740; } div.header-nav-folder-item a { border-bottom: 2px solid transparent; } @tuanphanThank you! This was really helpful. I am noticing that the line is a bit thicker than the others. I reduced it to 1px but it's staying the same. Any idea what might be happening?
tuanphan Posted March 15, 2022 Posted March 15, 2022 Try this new code .header-nav-folder-item a:hover { background-image: linear-gradient(to right,#dd7740 100%,currentColor 0) !important; background-size: 1px 2px !important; background-repeat: repeat-x !important; background-position: 0 calc(99.9%) !important; white-space: initial; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment