How to Centre a Heading in a Specific Section (Dawn Theme)

Solved

How to Centre a Heading in a Specific Section (Dawn Theme)

mollybluesh
Tourist
8 1 8

Trying to figure out how to change the "left orientation" of my heading in a particular section to "centre orientation". See photo below (trying to centre "Gifts & Arrangements")Screen Shot 2024-10-16 at 1.48.39 PM.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8819 2109 2587

This is an accepted solution.

Hi @mollybluesh 

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:

 

.collection .title-wrapper-with-link {
    justify-content: center;
}

 

  • And Save.
  • Result:
    Made4uoRibe_0-1729107721765.png

     

 

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

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 2 (2)

Asad-Mahmood
Trailblazer
175 34 41

Hi, Paste this code in your base.css file 

@media screen and (min-width: 990px) {
    .title-wrapper-with-link {
        justify-content: center !important;
    }
}

 

AsadMahmood_0-1729104462161.png

 

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





Made4uo-Ribe
Shopify Partner
8819 2109 2587

This is an accepted solution.

Hi @mollybluesh 

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:

 

.collection .title-wrapper-with-link {
    justify-content: center;
}

 

  • And Save.
  • Result:
    Made4uoRibe_0-1729107721765.png

     

 

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

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.