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 9

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
10133 2404 3038

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 2 (2)

Asad-Mahmood
Shopify Partner
411 69 80

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
Fiver




Made4uo-Ribe
Shopify Partner
10133 2404 3038

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.