Remove "HOME" button on Product Page (Boundless Theme)

Solved
Highlighted
New Member
6 0 0

Hello, 

On my product page, there is a HOME button that I cannot delete in the designer. How do I delete it in the code?

home-button-problem.PNG

Thanks.

0 Likes
Highlighted

Hello jmgoodman,

Please share your site url. So that i can check and let you know the exact solution here.

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
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
New Member
6 0 0

myadvancedvitality.com

0 Likes
Highlighted
Excursionist
11 1 1

You have to find the element that you want to hide and add a conditional logic.

Maybe this can help:

1. Click on "Online Store" link (left side - Shopify dashboard)

2. Click on "Actions" button and click on "Edit code".

3. Go to "Section" folder and click to open the product-template.liquid file

The Back to Home Button code looks like this (add the code in bold):

{% if template != 'product' %}
<div class="back-button grid">
<div class="grid__item"></div>
<a href="/" class="btn back-button__link">
<span class="icon icon-arrow-left" aria-hidden="true"></span>
<span>Home</span>
</a>
</div>
</div>
{% endif %}
0 Likes
Highlighted

This is an accepted solution.

Hello @jmgoodman 

Add this css at the bottom of

Online Store->Theme->Edit code->Assets->theme.scss.liquid

.template-product .back-button .btn.back-button__link {
	display: none !important;
}
.template-product .back-button {
	display: none !important;
}

Hope this will work for you.
Thanks!

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
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
New Member
6 0 0

That worked! Thanks!

0 Likes