All things Shopify and commerce
This is an accepted solution.
@Jiwya ,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </body> tag:
<style>
.section-sections--18454062792939__custom_liquid_XKKqqN-padding img.mid-image {
display: block!important;
margin: 0 auto!important;
}
</style>
result
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi @Jiwya
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.section-sections--18454062792939__custom_liquid_XKKqqN-padding {
display: flex;
flex-direction: column;
}
.section-sections--18454062792939__custom_liquid_XKKqqN-padding img {
margin: auto;
width: 150px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This code does not seem to work.
Here's the existing CSS for the custom liquid if that helps:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
p {
color: #ffffff;
text-align: center;
}
.mid-image{
margin-left:46.5%;
height: 50px;
width: 160px;
}
@media only screen and (max-width: 767px){
.mid-image{
margin-left:30%;
}
}
</style>
</head>
<body>
<img src="https://cdn.shopify.com/s/files/1/0673/5046/2699/files/JIWYA-R-White.png?v=1726226111" class="mid-image">
<P>Purely Plant-Based Luxury Fashion</P>
</body>
</html>
This is an accepted solution.
@Jiwya ,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </body> tag:
<style>
.section-sections--18454062792939__custom_liquid_XKKqqN-padding img.mid-image {
display: block!important;
margin: 0 auto!important;
}
</style>
result
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This worked perfectly, thanks!
@Jiwya , glad to help you 😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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