Centering the title in the middle of page and coloring a button.

Centering the title in the middle of page and coloring a button.

AlexandruMihai
Visitor
3 0 0

Hi there, i have no clue about coding, and I hope to find help here. As I mentioned, I need to center the title in the middle of the page and color the button white. I tried this code, but it didn't work, and the button's color should be #dcceef.

h2 {

text-align: center; 

}

Hope to find some help here ❤️Screenshot_8.png

Replies 4 (4)

Tech_Coding
Shopify Partner
386 106 90

Hello @AlexandruMihai 

would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
AlexandruMihai
Visitor
3 0 0
Tech_Coding
Shopify Partner
386 106 90

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   .multicolumn .title-wrapper-with-link {
       justify-content: center !important;
    }
    .multicolumn .button {
       background: #dcceef !important;
    }
    .multicolumn .button::after, .multicolumn .button::before {
        box-shadow: unset !important;
    }
</style>

Tech_Coding_0-1728567957402.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
AlexandruMihai
Visitor
3 0 0

Thank you so much sir, problem solved. But now i found one more thing 😃 As you can see, white color scheme is selected for all my info pages, but i don t know how can i change this scheme to dark one, because i don t have any button for scheme selection, can you give me an advice?Screenshot_10.png