Center align headings & Left align Footer headings at the same time?

Solved

Center align headings & Left align Footer headings at the same time?

cdgerard
Shopify Partner
43 2 3

Hello,

 

On DAWN theme, I want to center align headings everywhere but also I want to left-align the Footer headings.

 

I have center-aligned headings using the below code on base.css :

 

.page-width h2 {
text-align: center!important;
display: block!important;
width: 100%;
}

 

 ........which makes the Footer headings to also be center aligned.

So I tried by adding this code into section-footer.css to center the footer headings but it hasn't helped:

.footer-block__heading {text-align: left;}

 

Any ideas please!?

 

Demo site is here: https://wad2c3glowcwozh4-61358440707.shopifypreview.com

Accepted Solution (1)

NerdCurator
Shopify Partner
427 76 112

This is an accepted solution.

@cdgerard You can try adding this code in your CSS file. 

.page-width h2.footer-block__heading{
text-align: left !important;
}




Believes in delivering optimizing web solutions | Shopify Partner | Working as a web developer for last 10+ years.
- Was my reply helpful? Click Like to let me know! Coffee tips fuel my dedication.
- Was your question answered? Mark it as an Accepted Solution
Email me: info@nerdcurator.com

View solution in original post

Replies 3 (3)

NerdCurator
Shopify Partner
427 76 112

This is an accepted solution.

@cdgerard You can try adding this code in your CSS file. 

.page-width h2.footer-block__heading{
text-align: left !important;
}




Believes in delivering optimizing web solutions | Shopify Partner | Working as a web developer for last 10+ years.
- Was my reply helpful? Click Like to let me know! Coffee tips fuel my dedication.
- Was your question answered? Mark it as an Accepted Solution
Email me: info@nerdcurator.com
cdgerard
Shopify Partner
43 2 3

Works.

Thanks very much!

sahrar
Tourist
5 0 0

This worked for me too! thank you as I had tried others that didn't