gullbekken Posted October 28, 2022 Share Posted October 28, 2022 Hi, I am trying to style my dropdown menu so that the two menu items turns to italic on hover. Can anyone help? I tried to use this in the design/custom css: <stlye> .header-menu-nav-folder-content a: hover { text:italic; } </style> Link to comment
Solution Ziggy Posted October 28, 2022 Solution Share Posted October 28, 2022 Hi @gullbekken, you need to use font-style: italic; rather than text:italic; Add this to your Custom CSS: .header-menu-nav-folder-content a:hover { font-style:italic; } Hope that helps! gullbekken 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
gullbekken Posted October 28, 2022 Author Share Posted October 28, 2022 Perfect, thank you sir! Link to comment
gullbekken Posted October 28, 2022 Author Share Posted October 28, 2022 And if I want to use underline on hover shouldn't I be able to this? .header-menu-nav-folder-content a:hover { text-decoration:underline; } Link to comment
Ziggy Posted October 28, 2022 Share Posted October 28, 2022 You could use: text-decoration:underline; or: border-bottom: 3px solid red; gullbekken 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
LonniWong Posted December 19, 2022 Share Posted December 19, 2022 hello @Ziggy happy to have have found this thread, but none of the three codes worked with me. i would like to replace the active hover over underline with just italic. my site is www.lonniwong.com hope for alternative response 🙏 Link to comment
LonniWong Posted December 19, 2022 Share Posted December 19, 2022 4 hours ago, LonniWong said: hello @Ziggy happy to have have found this thread, but none of the three codes worked with me. i would like to replace the active hover over underline with just italic. my site is www.lonniwong.com hope for alternative response 🙏 Sorry, my bad, it works, i was on a wrong thread. 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