I want to move the social media icons only on the product pages, as in the attached image.
Can someone please help with a code?
Thanks
https://ankitimes.com/products/akita-psychedelic-face-unisex-tee
2 Likes
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the bottom of the file:
div#st-1 {
text-align: center;
margin-left: 10%;
}
Thanks but now it moves on the blog too, and I want it to move only on the product pages.
And with me for some reason, it is not aligned like in your example.
what can we do?
Thank you
Hello @Ann21 ,
You can try to follow these steps:
Go to Online Store β Themes β Actions β Edit code
Go to Assets folder β base.css file β add this following code at the bottom of page
body.product-page #st-1 {
text-align: center;
margin-left: 10%;
}
Save and preview
Hope this can help.
Ali Reviews team.
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the bottom of the file:
@media only screen and (max-width: 749px){
.product-section .st-inline-share-buttons {
margin-left: 4.5% !important;
}
}
@media only screen and (min-width: 750px){
.product-section .st-inline-share-buttons {
margin-left: 52.3% !important;
}
}
Thanks!
1 Like
Works great.
Thank you very much. Really appreciate it.