All things Shopify and commerce
Right now, the featured collection title (Toploaders) is above the "View all" link button as shown in the attached image.
I want them to be on the same line next to each other.
I've tried a bunch of base.css codes I saw in other threads asking the same question but none of them do anything for my site. Please help!!
Solved! Go to the solution
This is an accepted solution.
Hello @heyheyheyy
You can follow these steps:
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid file, paste the below code before </body>
{% if template contains 'index' %}
<style>
#MainContent .collection__title.title-wrapper {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
}
</style>
{% emdif %}
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
Hi @heyheyheyy
Can you kindly share your store link (with the password, if any) with us? We will help you check it and suggest a solution.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via [email protected]
Hi @heyheyheyy
You add this code at the end of the file base.css
.collection__title.title-wrapper{
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
}
We tested as the image below:
I hope that it works for you.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via [email protected]
Thank you for your reply. Unfortunately, that didn't work when I tried it.
This is an accepted solution.
Hello @heyheyheyy
You can follow these steps:
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid file, paste the below code before </body>
{% if template contains 'index' %}
<style>
#MainContent .collection__title.title-wrapper {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
}
</style>
{% emdif %}
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
This did the trick! Thank you so much!
Edit: I did have to fix the last typo "emdif" to "endif" but otherwise worked like a charm!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024