How to align these header icons and fix the "Cart" icon size? DAWN Theme

Solved

How to align these header icons and fix the "Cart" icon size? DAWN Theme

GreenPax
Excursionist
21 0 10

Hi! i tried copying a code to add the texts under these header icons, however it made the cart icon so small and the texts are not aligned. Please help how to fix cart icon size and align the texts below. thank you

Shop url - https://greenpaxusa.myshopify.com/
Screenshot_17.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9701 2306 2881

This is an accepted solution.

Just like to confirm you like to move only on the far right? or also the left. 

Made4uoRibe_0-1734639889702.png

If you like to equally move them try this one. 

You can add this code before the </style> tag. 

Or replace on this code. 

 

<style>
@media screen and (min-width: 768px) {
    .header__icons .header__icon--cart:after {
        content: "Cart";
        bottom: 2px !important;
}
    a#cart-icon-bubble svg.icon {
        transform: scale(1.9);
        margin-top: -1px;
}
}
.header__icons {
    gap: 10px;
}

header.header.header--middle-left.header--mobile-center {
    max-width: 100%;
}
</style>

 

And Save. 

Result:

Made4uoRibe_1-1734640057521.png

 

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9701 2306 2881

Hi @GreenPax 

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. 

 

<style>
@media screen and (min-width: 768px) {
    .header__icons .header__icon--cart:after {
        content: "Cart";
        bottom: 2px !important;
}
    a#cart-icon-bubble svg.icon {
        transform: scale(1.9);
        margin-top: -1px;
}
}
</style>

 

  • And SaVE. 
  • Result:
    Made4uoRibe_0-1734630822521.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
GreenPax
Excursionist
21 0 10

Thank you!! and one last if you could me with this also, Do you know how to move the account and cart just a bit to the right just so it doesnt overlap with the search bar?Screenshot_18.png

Made4uo-Ribe
Shopify Partner
9701 2306 2881

This is an accepted solution.

Just like to confirm you like to move only on the far right? or also the left. 

Made4uoRibe_0-1734639889702.png

If you like to equally move them try this one. 

You can add this code before the </style> tag. 

Or replace on this code. 

 

<style>
@media screen and (min-width: 768px) {
    .header__icons .header__icon--cart:after {
        content: "Cart";
        bottom: 2px !important;
}
    a#cart-icon-bubble svg.icon {
        transform: scale(1.9);
        margin-top: -1px;
}
}
.header__icons {
    gap: 10px;
}

header.header.header--middle-left.header--mobile-center {
    max-width: 100%;
}
</style>

 

And Save. 

Result:

Made4uoRibe_1-1734640057521.png

 

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
GreenPax
Excursionist
21 0 10

you're the best thank you!!