Collection Tab ( Dawn Theme )

Collection Tab ( Dawn Theme )

dreamtechzone_5
Shopify Partner
593 1 91

Hello Everyone!

 

I have added collection tabs through coding. I want the collection tab to look nicer in mobile mode. It looks great in desktop mode but not good in mobile mode. 3 or 4 tab menus on the top line and the rest of the menus below can be kept beautifully in mobile mode? 

 

Store: https://delicious-fruits-vegetables.myshopify.com/

Password: Admin

 

Desktop Mode looks Good

 

dreamtechzone_5_0-1739804512361.png

 

 

Mobile Mode Not Good

 

dreamtechzone_5_1-1739804512087.png

 

Can this be done in mobile mode? 

 

dreamtechzone_5_2-1739804549055.png

 

Replies 4 (4)

pawankumar
Shopify Partner
700 102 123

Hi @dreamtechzone_5 
Please put this in theme.liquid before body closing tag </body>

<style>
@media (max-width: 768px) {
.tabs {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
display: grid;
margin-inline: 1rem;
width: 95%;
justify-content: space-between;
align-items: center;
}
    
}
</style>

Please like and accept the solution if it works for you

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
dreamtechzone_5
Shopify Partner
593 1 91

Wow Great. It worked. Thank you very much. Another thing, is it possible to add a "View More" button to each collection tab?

 

Mutombo-Coffee-02-17-2025_09_49_PM.png

pawankumar
Shopify Partner
700 102 123

Hi @dreamtechzone_5 
You have to adjust that using liquid code and adding a link of current tab collection there
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

DaisyVo
Shopify Partner
4338 482 568

Hi @dreamtechzone_5 

 

I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ

 

Here is the code for Step 3:

 

{% style %}
@media screen and (max-width: 768px){
div.shopify-section > .tabs {
    width: 90% !important;
}
div.shopify-section > .tabs button {
    padding-inline: 6px !important;
}
}
{% endstyle %}

 

DaisyVo_0-1739806214313.png

 

Please let me know if it works. Thank you!

Best,
Daisy - Avada Support Team.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution