Help me make the social icons horizontal in header menu-drawe

Solved

Help me make the social icons horizontal in header menu-drawe

MT27
Pathfinder
162 6 16

Hi can you please help me make the social icons horizontal? also even though I can see the icons in shopify (mobile version) but in my mobile I can't. 

MT27_0-1706107380798.png

MT27_2-1706107497374.png

 

 

 

Accepted Solutions (2)
Danishshopdev
Shopify Partner
163 17 20

This is an accepted solution.

Add this into your custom code section in your theme customized settings options.

 

@media(max-width: 768px){
    .menu-drawer .list-social__link {
       padding: 10px !important;
    }
    .menu-drawer__utility-links ul {
       display: flex !important;
       justify-content: center !important;
       align-items: center !important;
       column-gap: 34px !important;
       vertical-align: middle;
       padding: unset !important;
       margin: unset !important;
   }
   ul.list.list-social.list-unstyled li {
      padding: unset !important;
      height: 30px !important;
   }
   .link{
     display: unset !important;
  }
}
banned

View solution in original post

MT27
Pathfinder
162 6 16

This is an accepted solution.

it messes up the order of the pages (check image)

MT27_0-1706175070244.png

 

View solution in original post

Replies 5 (5)

niraj_patel
Shopify Partner
2378 514 512

Hello @MT27 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid

<style>
@media screen and(max-width: 767px){
    .menu-drawer .list-social__link {
       padding: 10px !important;
    }
    .menu-drawer__utility-links ul {
       display: flex !important;
       justify-content: center !important;
       align-items: center !important;
       column-gap: 34px !important;
       vertical-align: middle;
       padding: unset !important;
       margin: unset !important;
   }
   ul.list.list-social.list-unstyled li {
      padding: unset !important;
      height: 30px !important;
   }
   .link{
     display: unset !important;
  }
}
</style>

techlyser_web_0-1706109020404.png

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- [email protected]
MT27
Pathfinder
162 6 16

Hi I coppied it to the blue line as you can see from the screenshot but nothing happened, can you check if I have done something wrong? Thank you

MT27_0-1706118682598.pngMT27_1-1706118700593.png

 

Danishshopdev
Shopify Partner
163 17 20

This is an accepted solution.

Add this into your custom code section in your theme customized settings options.

 

@media(max-width: 768px){
    .menu-drawer .list-social__link {
       padding: 10px !important;
    }
    .menu-drawer__utility-links ul {
       display: flex !important;
       justify-content: center !important;
       align-items: center !important;
       column-gap: 34px !important;
       vertical-align: middle;
       padding: unset !important;
       margin: unset !important;
   }
   ul.list.list-social.list-unstyled li {
      padding: unset !important;
      height: 30px !important;
   }
   .link{
     display: unset !important;
  }
}
banned
MT27
Pathfinder
162 6 16

This is an accepted solution.

it messes up the order of the pages (check image)

MT27_0-1706175070244.png

 

PremierCopper
Visitor
1 0 0

Hi!

Are you able to send code for doing this in a footer?