How can I center headings in Dawn theme?

I’m hoping someone can help me, I need to centre the headings in both the multi-column and featured collection sections in the DAWN theme. Does someone have the code to be able to do this?

Is the code section for Dawn now the base.css?

Thanks

Hello @tahliamotteram

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before


I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team

Hi @tahliamotteram

You can try this code by following these steps:

Go to Online store => themes => actions => edit code and add this code on file base.css

h1.collection-hero__title {

          text-align: center !important;

}

      h2.collage-wrapper-title {

          text-align: center !important;

}

Hope this answer helps.

Best regards,

Victor | PageFly

So sorry it doesn’t seem to be working :disappointed_face:

https://7b4gpjwsci2nzsox-7787118645.shopifypreview.com

Thanks so much but this doesn’t seem to be working either :disappointed_face: Not sure what I am doing wrong!

https://7b4gpjwsci2nzsox-7787118645.shopifypreview.com

Please add below css code in bottom of assets/base.css file

.title-wrapper-with-link {
text-align: center;
display: block;
}
.collection__title h2.title {
text-align: center;
}

Thank you.

1 Like

Thank you so much this worked!

1 Like

not working for me

user error, i got it, thanks