Dawn 10.0 How To Add Social Media Icons To The Header?

Solved

Dawn 10.0 How To Add Social Media Icons To The Header?

San21
Shopify Partner
47 0 15

Hi I was able to add the codes to add social media in the header, but with all the updates with Dawn 10.0

I am wondering if someone can help me here.  I would like to have the social media icons (same as the one in footer) but on top beside the search and cart.

Thanks

 

https://ecozen-master-6-0.myshopify.com/

PW:  icewsk

Accepted Solution (1)

Harsita
Shopify Partner
46 10 23

This is an accepted solution.

Hi @San21 

 

Thank you for reaching out to the shopify community.

 

To add the social media icon in the header of your store you just have to add the below code in your header.liquid file in  Sections folder.

 <div class="header-social-media-icons">{%- render 'social-icons' -%}</div>

 Screen shot for reference

Harsita_2-1690264777443.png

 

 you can adjust the padding and margin accordingly, by making changes in base.css file.

Harsita_1-1690264737213.png

 You should be able to see the icons in header now

 

Harsita_3-1690264852060.png

 

Do give it a try and let me know if this was helpful.

 

Thanks

Harshita || Recurpay Subscriptions

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 3 (3)

Harsita
Shopify Partner
46 10 23

This is an accepted solution.

Hi @San21 

 

Thank you for reaching out to the shopify community.

 

To add the social media icon in the header of your store you just have to add the below code in your header.liquid file in  Sections folder.

 <div class="header-social-media-icons">{%- render 'social-icons' -%}</div>

 Screen shot for reference

Harsita_2-1690264777443.png

 

 you can adjust the padding and margin accordingly, by making changes in base.css file.

Harsita_1-1690264737213.png

 You should be able to see the icons in header now

 

Harsita_3-1690264852060.png

 

Do give it a try and let me know if this was helpful.

 

Thanks

Harshita || Recurpay Subscriptions

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
crebecca
Tourist
13 0 1

Hi Harshita,

 

I'm trying to add the social icons but to the left hand side of the header (opposite side to the cart). I've added the above code and tried to adjust padding but not sure how to get it to show on the left of the page?

Thanks!

San21
Shopify Partner
47 0 15

@Harsita Thank you so much, this is exactly what I was looking for, Thanks again