Jump to content

Can't select element to style

Recommended Posts

Hello,

I can't seem to figure out the right way to select the 'join now' link in my mobile nav. I want to apply a button style border to it, however all the selectors I have tried don't seem to target it correctly... when I use :last-child or :nth-child rules it selects a link from the items within the nav wrapper too. The join now link is a mindbody widget, not sure if that's got anything to do with the way it's structured? I have managed to style the font but the border property doesn't apply to the selector I used for that.

Any help much appreciated!

Thank you

Screenshot 2024-01-11 at 3.38.17 pm.png

Screenshot 2024-01-11 at 3.46.27 pm.png

Link to comment
  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Does this class not work?

image.png.0f7eef753506967a17b3c7134803f7d3.png

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Can you share your website URL?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.