I have added a custom liquid section to my footer (in Crave theme), how can I centre the text? Image below.
@Jode81 , hope you are doing well.
Please try by adding below CSS at the end of your base.css or theme.css file. you have to add your parent div class and use text-align:center property. please check example as below
.parent-clss{
text-align:center;
}
Hi Jode81,
You just need to wrap your text with a div and center align this div content with CSS.
Your Text here
And then open your style.css or theme.css files according to your theme and put this CSS there at the end of the file.
.custom_html{
text-align:center;
}
or you can even apply inline css
Your html here
Share your store URL and also let me know which text you want to keep it center. So, I’ll provide you the CSS.
My store url is: https://www.onestopcelebrations.com/
Below is a screenshot of the text I want to align, you will see it in the footer of my site.
Thank you ![]()
![]()
Hey Jode81, You are almost there.
Just need to wrap the text with
custom text
And add this style at the end of the block labeled as a custom style
.custom_txt{
text-align: center;
}
please add the below line of CSS code at the end of your base.css file.
.section-sections--16180273119408__b031a82f-0a99-4d1b-ad21-7eb5f2f4daba-padding{
text-align: center;
}
Thankyou so much for your help - this worked!
Thankyou - this solution also worked!


