Hide Product Prices on Home Page debut theme

Solved
Tourist
7 0 1

hi 

i would like to hide  the price of my products on the home page and if possible the featured collections page.

i have found some code in the forum:

 

body.index {
& .price {
display: none;
}

and i have placed it at the bottom of the theme.scss.liquid asset.

 

but it does not seem to work, if anyone could help id be very grateful

 

regards

Stuart


 

0 Likes

Success.

Hello ,

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file

 

.template-index .price {
	display: none;
}

 

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
1 Like

Success.

Shopify Partner
100 20 17

Hi @Stu79 

 

Go to edit code> assets > theme.scss>

add this code at very bottom of theme.scss

 

.template-index dl.price {
    display: none !important;
}

Thanks

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
1 Like
Tourist
7 0 1

thanks guys

 

0 Likes