Solved

Header Icons

larsvilhelmsson
Tourist
11 0 2

Hi,

I've managed to change my icons to text and align them vertically using 'block,' however, I just can't find a way to align them like I've aligned my menu. I'm using the DAWN theme. Is there anyone who has the skills to help me?

Website: www.todecay.com

 

Thanks in advance, 

 

Lars

 

Screenshot 2024-04-22 at 19.11.34.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6383 1533 1903

This is an accepted solution.

Hi @larsvilhelmsson 

Seems like the block didnt help at all. 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.header__icons {
    margin-top: -6px;
    display: flex;
    flex-direction: column;
}

 

And Save. 

Result:

Made4uoRibe_0-1713806971046.png

And if you like the icons close the each other. Use this code then. 

 

.header__icons {
    display: flex;
    flex-direction: column;
}
.header__icon, .header__icon--cart .icon {
    height: fit-content;
}

 

And Save. 

Result:

Made4uoRibe_1-1713807280747.png

Note: If it doesnt change it mean the display; flex didnt work you need to take out the display: block.

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
6383 1533 1903

This is an accepted solution.

Hi @larsvilhelmsson 

Seems like the block didnt help at all. 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.header__icons {
    margin-top: -6px;
    display: flex;
    flex-direction: column;
}

 

And Save. 

Result:

Made4uoRibe_0-1713806971046.png

And if you like the icons close the each other. Use this code then. 

 

.header__icons {
    display: flex;
    flex-direction: column;
}
.header__icon, .header__icon--cart .icon {
    height: fit-content;
}

 

And Save. 

Result:

Made4uoRibe_1-1713807280747.png

Note: If it doesnt change it mean the display; flex didnt work you need to take out the display: block.

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
larsvilhelmsson
Tourist
11 0 2

worked wonders!!! cheers

Made4uo-Ribe
Shopify Partner
6383 1533 1903

Good to hear. Would you mind to hit like also. 😊 Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.