Jump to content

Summary Block on product page: hide current product

Recommended Posts

Dear Community,

I have integrated a summary block on my product pages to show product recommendation below a given product.

Though the problem is that the summary block shows besides the other products I have, the product of the given product page as well.. is there a way to remove/hide the product from the summary block? 

Thanks

Link to comment
  • Replies 4
  • Views 481
  • Created
  • Last Reply
  • 1 month later...

You would need to id the summary block. This code is being used but it does leave an empty space where the active block is, this code will not move any items around. 

#block-yui_3_17_2_1_1594082530518_15247

.summary-item:nth-child(1) {

  display: none;

}

#block-yui_3_17_2_1_1594082530518_15247
.sqs-active-slide  {
  display:none!important;
}

I think your blocks id is  #block-0101bad94bb45a8ba6d4

Link to comment

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.