Solved

How to remove this button only on page?

harukajmickey
Shopify Partner
112 0 8

Hi all,

 

I am using dawn.

How do I make this button not shown only on hobot-japan.com/pages/** ?

The pages are all such as contact and landing pages. 

Thank you in advance!

 

URL

https://w4rbnpbf8sknalu6-25976733762.shopifypreview.com

 

スクリーンショット 2023-03-29 14.25.18.png

 

Accepted Solution (1)

Moeed
Shopify Partner
3580 900 1121

This is an accepted solution.

Hey @harukajmickey 

Follow these steps:

 

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body>

 

{%  if template contains 'page' %}
<style>
.line-fixed-button {
    display: none !important;
}
</style>
{%  endif %}

 

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
3580 900 1121

This is an accepted solution.

Hey @harukajmickey 

Follow these steps:

 

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body>

 

{%  if template contains 'page' %}
<style>
.line-fixed-button {
    display: none !important;
}
</style>
{%  endif %}

 

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
harukajmickey
Shopify Partner
112 0 8

Thank you Moeed. It worked!

oneworldproject
Visitor
1 0 0

I have the same problem and have tried this fix and it hasn`t worked