adriannexo Posted January 17 Share Posted January 17 I've finally figured out how to make external links in my navigation become italic. But now I'd like to figure out how to only target the last external link (maybe using "child"? new to css haha) Here is the code I have working now: .header-nav-item--external a { font-style: italic; } Any ideas on what to add to make it so only the word "STUDIO" is italic in my nav? Site is forhomeandharvest.com Thanks for any help!!! Link to comment
Solution Ziggy Posted January 18 Solution Share Posted January 18 This would work, but be wary of adding or removing navigation items. .header-nav-item:nth-child(4) { font-style:italic; font-weight:900; } Hope that helps! adriannexo 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) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
adriannexo Posted January 20 Author Share Posted January 20 On 1/18/2023 at 2:35 AM, Ziggy said: This would work, but be wary of adding or removing navigation items. .header-nav-item:nth-child(4) { font-style:italic; font-weight:900; } Hope that helps! THANK YOU! This is perfect. Ziggy 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