Jump to content

Hiding Rows with CSS

Recommended Posts

Site URL: https://www.hunterstreet.org/livestream

I have a row of buttons which only needs to appear for a few days each week, so I'm trying to hide the row using CSS.

Right now it contains 2 black buttons ("MidWeek PDF" and "Song Lyrics")

When I copy the selector for the row, I get this "#yui_3_17_2_1_1586897025412_158 > div:nth-child(3)"

I've tried this code to hide it, but something is not quite correct:

#yui_3_17_2_1_1586897025412_158>div:nth-child(3) {
  display:none !Important;
}  

Any ideas of where I've gone wrong? I've been able to hide individual block elements, but the row would be much easier!

Thanks!

Link to comment
  • Replies 2
  • Views 494
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.