I added social media icons to header in dawn theme 10.0, desktop version, but how can I make the distance between cart and facebook the same as the other icons?
website https://blessedfashion1.myshopify.com/
password fashion
pic for reference https://ibb.co/FYTmDvb
Thanks for your help.
1 Like
@urbantis , hope you are doing well
please add the below line of CSS code at the end of your base.css file.
body .list-social{
padding-left:1.3rem;
}
Hi @urbantis ,
Try this.
- 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” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
- And Save.
ul.header-list-socail.list-unstyled.list-social {
padding-left: 1.3rem;
}
Result:
I hope it help.
Hello,
Go to Online store > find your theme. On the 3 dots click Edit code.
In the assets folder open base.css file.
Go to the bottom and paste this code:
(As other answers add the padding-left but also the flex-wrap)
ul.header-list-socail.list-unstyled.list-social {
padding-left: 1.3rem;
flex-wrap: nowrap;
}
The flex-wrap property will prevent the social icons to display in a column as you resize your browser.
Hope this helps