How to put "View All" button on the same line as the featured collection title? DAWN THEME

Solved

How to put "View All" button on the same line as the featured collection title? DAWN THEME

heyheyheyy
Tourist
5 0 1

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!! 

 

Screen Shot 2022-11-29 at 4.28.45 PM.png

Accepted Solution (1)

GemPages
Shopify Partner
5625 1261 1241

This is an accepted solution.

Hello @heyheyheyy 

 

You can follow these steps:
1. Go to Online Store->Theme->Edit code

GemPages_1-1669781196456.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_2-1669781253959.png

    {%  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

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 7 (7)

BSS-Commerce
Shopify Partner
3477 463 535

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


BSS Commerce - Full-service eCommerce Agency
heyheyheyy
Tourist
5 0 1
BSS-Commerce
Shopify Partner
3477 463 535

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:

view (35).png

 

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


BSS Commerce - Full-service eCommerce Agency
heyheyheyy
Tourist
5 0 1

Thank you for your reply. Unfortunately, that didn't work when I tried it. 

GemPages
Shopify Partner
5625 1261 1241

This is an accepted solution.

Hello @heyheyheyy 

 

You can follow these steps:
1. Go to Online Store->Theme->Edit code

GemPages_1-1669781196456.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_2-1669781253959.png

    {%  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

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
heyheyheyy
Tourist
5 0 1

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!

FloridaGlow
Explorer
92 0 10

@GemPages I'm on Dawn 14.0 and it didn't work, can you please help?