Hide size on slider

Hi,

I want to hide the size on slide only on HOMEPAGE/index when I disable the size chips then it does work on collection pages. Can we disable only the homepage?

thanks Mike

https://vazluxe.com

@Luxurymrkt

How to Add This to Shopify Dawn Theme:

  1. Go to Shopify Admin → Online Store → Themes.
  2. Click “Customize” on your Dawn theme.
  3. In the theme editor, go to “Theme settings” (bottom left).
  4. Scroll down and click “Custom CSS”.
  5. Paste the above CSS code and save changes.

Alternative (Edit Theme CSS Directly):

  1. Go to “Online Store” → “Themes”.
  2. Click “Actions” → “Edit code”.
  3. Open base.css inside the assets folder.
  4. Paste the CSS at the bottom and Save.
.product-item__product-vendor, .product-item__swatch-count, .product__vendor.fs-body-100.t-opacity-70, label.product__label span.t-opacity-70 {
    display: none;
}

You can use this css it will hide the size

Hi @Luxurymrkt

Yes we can, ty this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “theme. Liquid” file. Find the tag and paste the code below before the tag.
{% if template.name == 'index' %}

{% endif %}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!