Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
TheXLStudio

Hide products display section on store page

Question

Posted (edited)

Site URL: https://www.thexlstudio.com/weddings/#wedding-booking

I wanted to display different products on different rows on the store page. So I added a new section and then added each product (this is below my normal products section). However, I now need to hide the normal product display section from my store page. I've figured out I can hide the section with the below code, but this breaks my product detail pages as well. Could anyone help me either hide the products section on the store page without breaking the detail pages or help me customise it so it displays as I want it. Any help would be greatly appreciated. Thanks.

<style>
[data-section-id="5e917ef89b4c2c2999be90ec"] {
  display: none;
     }
</style>

Edited by TheXLStudio

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

The top ones please. I want to hide the product grid, mine is currently set to 3 columns. I want to either hide this, or rearrange it to match the images below. Thanks for your help. 

Share this post


Link to post
  • 0

I found a way to do it. Not ideal but has worked for me. I tagged all the products with "hide-product" then added the below code to Home -> Design -> Custom CSS.

.grid-item.tag-hide-product {
    display: none;
}

This still left me with a plain white space but I just moved it to the bottom of my page and it blends between the bottom of my page content and my footer. If you have a neater solution that would be great still. 

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...