MoniqueP Posted March 22, 2021 Share Posted March 22, 2021 Site URL: https://monibarry.squarespace.com/ Hi there, I'm trying to figure out if it's possible to flip just the text and not the "/" separators on my nav menu upon hover. Site: https://monibarry.squarespace.com/ P/W: password123 Can anyone please help? The code I have used for the seperator is; .header-nav-item:not(:last-child) a:after { content: "/"; color: black; font-family: neue-haas-grotesk-display,sans-serif; font-weight: 400; font-style: normal; margin-left: 20px; } .header-nav-item a { background-repeat: no-repeat !important; transform: scaleX(1) !important; transition: all ease-in-out .5s !important; } .header-nav-item a:hover { transform: scaleX(-1) !important; transition: all ease-in-out .5s !important; } Link to comment
tuanphan Posted March 24, 2021 Share Posted March 24, 2021 Remove code you used to add "/" & add new code div.header-nav-item:after { content: "/"; color: #000; font-family: neue-haas-grotesk-display,sans-serif; font-weight: 400; font-style: normal; margin-left: 20px; } div.header-nav-item { display: -webkit-box; display: -ms-flexbox; display: flex; } MoniqueP 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
MoniqueP Posted March 25, 2021 Author Share Posted March 25, 2021 11 hours ago, tuanphan said: Remove code you used to add "/" & add new code div.header-nav-item:after { content: "/"; color: #000; font-family: neue-haas-grotesk-display,sans-serif; font-weight: 400; font-style: normal; margin-left: 20px; } div.header-nav-item { display: -webkit-box; display: -ms-flexbox; display: flex; } Thank you so much that worked perfectly! 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