jskoiz
August 14, 2022, 5:00am
1
Hello,
I have a specific product page with no image that I would like to have centered, I have previously added a marker so I can apply CSS specifically to this page, but im unsure how I can center the information on desktop as well as mobile. This is how it currently looks:
link: https://hideawayhilo.com/products/private-shopping-appointment
I would just like that information all centered on the page
1 Like
@jskoiz
yes, please try this code
Go to Online Store->Theme->Edit code
Asset->/theme.scss.liquid ->paste below code at the bottom of the file.
#private-shopping-appointment .Product__InfoWrapper {
left: 0;
}
#private-shopping-appointment .Product__Info {
margin: 0px auto;
}
#private-shopping-appointment .ProductMeta__Title {
text-align: center;
margin-top: 30px;
}
@jskoiz
Please add the following code.
Go to Online Store->Theme->Edit code
Asset->/theme.scss.liquid ->paste the below code at the bottom of the file.
#private-shopping-appointment .Product__InfoWrapper {
left: 0;
}
#private-shopping-appointment .Product__Info {
margin: 0px auto;
}
#private-shopping-appointment .ProductMeta__Title {
text-align: center;
margin-top: 30px;
}
Thanks!