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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024