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 community@bsscommerce.com
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 community@bsscommerce.com
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!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024