How can I hide prices on a specific Expanse theme page?

Hello I have a wholesale page and I need to hide the price on only one section on the website on one page only. Can someone help me? link: https://www.skintoxmd.ca/pages/wholesale

Hi @itsduke

For your case, I would like to suggest you 3 solutions below:

  1. Use CSS
  • Search for the theme.css file in the Edit Code section

  • Add the CSS code at the end of the file. Because this section can be used on many different pages, you must specify the ID of that section (F12 to check)

#CollectionSection-template--15217141186619__16596193409be6003a .grid-product__price--current {
  display: none;
}

  1. Use Javascript
  • Search the theme.liquid. file

  • Search for a tag and add the code below


  1. If you’re interested in using a 3rd-party app, please try our B2B Login/Lock & Hide Price to hide prices easily.

I hope that this can help you solve the issue.

@itsduke

oh sorry for that issue, can you please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
#shopify-section-template--15217141186619__16596193409be6003a .grid-product__price {
    display: none;
}

Hello @itsduke ,

It’s GemPages support team and glad to support you today.

I would like to give you the recommendation to support you so kindly follow the steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  1. Open your theme.liquid theme file

  2. Paste the below code before

{% if page.handle == 'wholesale' %}

{% endif %}

For example,

If you require any further information, feel free to contact me.

Best regards,
GemPages Support Team

Hello, I tried the 1st solution and we only have a file under assets named theme.css.liquid I added it to this one and it didn’t work.

I also tried the 2nd solution and it also did not work.

Hello, I tried the solution and we only have a file under assets named theme.css.liquid I added it to this one and it didn’t work.

Nothing changed

@itsduke

oh sorry bt i can’t see this code where did you add this code