Re: Dawn Theme - How do I center the headings/content on the pages, ie products,comingsoon,About us.

Solved

Dawn Theme - How do I center the headings/content on the pages, ie products,comingsoon,About us...

TC13
New Member
19 0 0

Hello, 

I'm trying to center the headings and content on all the pages on our website. It seems to be set up properly on the home page but the remaining pages by default are left. Any and all help is greatly appreciated!

TriuneCastile.com

Thank you again in advance

Accepted Solutions (4)

StudioEnchant
Shopify Partner
245 40 38

This is an accepted solution.

Hey, to align the headers, for example H1, add the following code to the bottom of your base.css file.

h1 {
    text-align: center !important;
}
If we helped you please Like this reply and Mark it as Solution! ❤️

Chat with us on WhatsApp


Click here to enjoy 3 months of Shopify for $1/month on select plans.

View solution in original post

Made4uo-Ribe
Shopify Partner
7736 1870 2288

This is an accepted solution.

Hi @TC13 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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:

 

.rte p {
    text-align: center;
}

 

  • And Save. 

i hope it help. 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Made4uo-Ribe
Shopify Partner
7736 1870 2288

This is an accepted solution.

Yeah, Im not sure if this one.

Jusr check it. 

Same Instruction. 

 

h2.footer-block__heading.inline-richtext {
    text-align: center;
}
form#ContactFooter {
    margin: auto;
}
.footer-block--newsletter {
    align-items: center;
    flex-direction: column;
}

 

Result:

Ribe_Dagandara_0-1692724299443.png

I hope it help.

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Made4uo-Ribe
Shopify Partner
7736 1870 2288

This is an accepted solution.

I found another solution. 

Same Instruction. 

 

.footer__content-bottom .footer__copyright.caption {
margin: auto;
padding-top: 10px;
}

 

Just a reminder Im just suggesting. 😅 You dont need to do it. 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 14 (14)

StudioEnchant
Shopify Partner
245 40 38

This is an accepted solution.

Hey, to align the headers, for example H1, add the following code to the bottom of your base.css file.

h1 {
    text-align: center !important;
}
If we helped you please Like this reply and Mark it as Solution! ❤️

Chat with us on WhatsApp


Click here to enjoy 3 months of Shopify for $1/month on select plans.
TC13
New Member
19 0 0

Thank you so much! This works great for the headings on all the pages! Is there a way to also have the content, images and text to appear centered? 

Thank you 

Beae_Cass
Shopify Partner
436 167 177

Hi @TC13 ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

 

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

<style>
h1.collection-hero__title,
h1.main-page-title.page-title.h0{
    text-align: center
}
</style>

 

Best regards,

Anthony

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Demo Template
TC13
New Member
19 0 0

Hello Anthony, 

Thank you so much for your help, I attempted the above but without any luck. 

Made4uo-Ribe
Shopify Partner
7736 1870 2288

This is an accepted solution.

Hi @TC13 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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:

 

.rte p {
    text-align: center;
}

 

  • And Save. 

i hope it help. 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
TC13
New Member
19 0 0

This worked amazing centering all the content and images! hurray! Excellent support from everyone involved! Thank you

TC13
New Member
19 0 0

Thanks again, I don't want to be a bother but I have to ask if there is an easy way to do the same in the footer for the desktop view? centering text, email subscription box, & socials

 

Thanks a million!

Made4uo-Ribe
Shopify Partner
7736 1870 2288

This is an accepted solution.

Yeah, Im not sure if this one.

Jusr check it. 

Same Instruction. 

 

h2.footer-block__heading.inline-richtext {
    text-align: center;
}
form#ContactFooter {
    margin: auto;
}
.footer-block--newsletter {
    align-items: center;
    flex-direction: column;
}

 

Result:

Ribe_Dagandara_0-1692724299443.png

I hope it help.

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Made4uo-Ribe
Shopify Partner
7736 1870 2288

Maybe you like to center the copyright also.. 😅

Use this. 

.footer__content-bottom-wrapper.page-width {
    justify-content: center;
}

Nice to see all align. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
TC13
New Member
19 0 0

I love that idea! unfortunately the copyright part didn't take but the rest worked perfectly Sweet! I appreciate all your assistance! 

Made4uo-Ribe
Shopify Partner
7736 1870 2288

Try this one again in the footer. 

.footer__content-bottom-wrapper.page-width {
display:flex;
justify-content: center !important;
}
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
TC13
New Member
19 0 0

Unfortunately that didn't work but that was such an amazing idea I'll certainly keep working at that until the copyright is centered as well. Such a great idea and it will improve the look greatly, Thanks so much for all of your assistance!

Made4uo-Ribe
Shopify Partner
7736 1870 2288

This is an accepted solution.

I found another solution. 

Same Instruction. 

 

.footer__content-bottom .footer__copyright.caption {
margin: auto;
padding-top: 10px;
}

 

Just a reminder Im just suggesting. 😅 You dont need to do it. 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
TC13
New Member
19 0 0

This worked great! Awesome awesome awesome 

 

THANK YOU SO MUCH!