How to remove product title in product page in dawn theme

I want to remove second product title in dawn theme.

@Anandkerai - can you share this page link?

Hi @Anandkerai !

This is PageFly - Advanced Page Builder. I would love to give you some recommendation

Please share Page URL so that I can inspect and send code accordingly.

Best Regards;

PageFly

My page url is: luxyway.xyz

My page : luxyway.xyz

Hi @Anandkerai !

This is PageFly - Advanced Page Builder. I would love to give you some recommendation

Please paste this code at the bottom of section-main-product.css under assets in theme code files

.product__title {
display: none;
}

Best Regards;

PageFly

This one I need to remove on my all product page, Product selection I need to remove on all products pages

do you want to remove this one?

No , I need to remove only products not title

you can go to that product editor and under variants remove this option

It can remove whole color selection and size selection also

please send the screenshot of the product editor.

Variant picker

Not there but here in single product editor

Hi @Anandkerai ,

Since you are looking to hide a specific variant if it’s available in that product. Please use below code and paste it at line number 346 in main-product.liquid.


You can also achieve it by add script provided below.

```markup
var listVariant = document.querySelectorAll("variant-radios .product-form__input");
var list = document.querySelectorAll("variant-radios .product-form__input").length;
for(var i=0; i < list; i++){
    var labeltext = ((listVariant[i]).querySelector(".form__label").innerText).toLowerCase();
    if(labeltext == 'product'){
        listVariant[i].setAttribute('style','display:none')
    }
}

Hope it will help.