Re: Custom text block only on Refund Policy page

Custom text block only on Refund Policy page

Kein_Talent
Tourist
10 0 1

I would like to display the following text block only on my refund policy page. With the current code, this text block is visible on every “Policy” page, if I add it to the base.css (Dawn v15.0.2). I would also like to bold or underline certain words. How can I do this, can anyone help me?

 

.shopify-policy__container::before {
content: "SAMPLE TEXT";
background-color: #E3F5FF;
color: #121212;
display: block;
padding: 10px;
border-radius: 5px;
margin-top: 25px;
}

Replies 9 (9)

Huptech-Web
Shopify Partner
1161 232 263

@Kein_Talent Could you please share the store URL? This will allow me to inspect it and provide you with a more tailored solution.

 

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Kein_Talent
Tourist
10 0 1

Sure, I'll send you a DM as the store is still under construction.

Huptech-Web
Shopify Partner
1161 232 263

Hello! @Kein_Talent  Please follow these steps to add this code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open theme.liquid file
5. find the <body> tag and add the below code same as the Image

{{ page.handle }} {{ template.name }}

HuptechWeb_0-1729686677127.png

 

After you add this code, please let me know so that I can provide the CSS code.
Best regards
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Kein_Talent
Tourist
10 0 1

I have now added the code.

 

theme code.png

Huptech-Web
Shopify Partner
1161 232 263

@Kein_Talent in the URL that you sent, this code is not reflected. Can you please check again for yourself, if not, please send me the collaboration code. I sent you a collaboration request and provided a more tailored solution.

HuptechWeb_0-1729687677777.png

 

 

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Kein_Talent
Tourist
10 0 1

Strange, I have the code inside. I'll send you the collab code by DM.

Kein_Talent
Tourist
10 0 1

I've accepted your request so you can have a look. You can then send me the code here or by DM.

Huptech-Web
Shopify Partner
1161 232 263

Hey @Kein_Talent I need edit code access to edit the code and provide a direct solution 

HuptechWeb_0-1729742855756.png

 

 

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Huptech-Web
Shopify Partner
1161 232 263

Hey @Kein_Talent, the issue is now fixed. Can you please check in your live theme [Dawn v15.0.2]?

https://www.canvify.com/policies/privacy-policy 


HuptechWeb_0-1729772473531.png

If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required