Shopify themes, liquid, logos, and UX
Hi ,
i want to add line after my collection section also before the footer like the photo
im using dawn theme
how to do it ,
here my website link :https://b6448a-44.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Oh, i thought only on the collection pages.
Try this one then.
.newsletter.center {
border-top: 1px solid black;
border-bottom: 1px solid black;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi @ai41
Try this one.
1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
{% if template.name == 'collection' %}
<style>
.newsletter.center {
border-top: 1px solid black;
border-bottom: 1px solid black;
}
</style>
{% endif %}
And Save.
Result:
Note: This will only show on the collection page.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
thank you sir for your time , but it did not work , i want it also to show on all pages
This is an accepted solution.
Oh, i thought only on the collection pages.
Try this one then.
.newsletter.center {
border-top: 1px solid black;
border-bottom: 1px solid black;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
thank you its working
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024