Shopify themes, liquid, logos, and UX
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.
Solved! Go to the solution
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;
}
}
This is an accepted solution.
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>
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
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;
}
}
This is an accepted solution.
it messes up the order of the pages (check image)
Hi!
Are you able to send code for doing this in a footer?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024