How to center a Custom Liquid heading ?

Hello,

any idea how you can center a Custom Liquid banner writing on craft theme?

2 Likes

Hi @GiudFabri123 , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

1 Like

www.scanditure.com

Hi @GiudFabri123

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.luxury-home-furniture h1 {
    text-align: center;
}

Result:

If my reply is helpful, kindly click like and mark it as an accepted solution.

If you are happy with my help, you can help me buy a COFFEE

Thanks!

Hi @GiudFabri123

Try this one.

  1. From your Shopify admin dashboard, click on ā€œOnline Storeā€ and then ā€œThemesā€.
  2. Find the theme that you want to edit and click on ā€œActionsā€ and then ā€œEdit codeā€.
  3. In the ā€œAssetsā€ folder, click on ā€œbase.css, style.css or theme.cssā€ file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.section-template--20571060011347__custom_liquid_xgUpAh-padding {
     text-align: center !important;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings to do that.

.luxury-home-furniture { text-align: center; }
1 Like

@GiudFabri123

I’ve already provided the solution, so please mark my solution as resolved.

Thanks!

1 Like

Welcome! Would you mind hitting ā€˜like’ as well? Thanks!