Jump to content

Cannot accurately target the code to a single image in grid gallery

Go to solution Solved by creedon,

Recommended Posts

  • Solution

Add the following to Website > Pages > Website Tools > Custom CSS.

.mobile-style-nav #block-yui_3_17_2_1_1592486068357_51634 .sqs-gallery-block-grid .slide:nth-last-child( 2 ) {

  display : none;
  
  }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
Posted (edited)

Amazing! I can't thank you enough Creedon.

Can you give me some insight on how you targeted it?

This was the closest I got: 
#block-yui_3_17_2_1_1592486068357_51634  .sqs-gallery-block-grid  div.slide img:nth-child(14) {
    display: none;
}

Thank you!

Edited by Caramia
typo
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.