How do I center my multicolumn header (Screenshot Below) right now it’s aligned to the left.
Link… (Drive Scent Diffuser – The Car Flame Diffuser (shopifypreview.com)
Password: go2253
A user seeks help centering a multicolumn header in the Dawn theme, which is currently left-aligned.
Solutions Provided:
Two CSS approaches were offered:
.title-wrapper-with-link classBoth solutions target the Custom CSS section in the theme customizer.
Outcome:
Multiple users confirmed success with these solutions, particularly praising their simplicity compared to more complex snippet-based approaches found in other forums. The issue appears resolved with straightforward CSS additions.
How do I center my multicolumn header (Screenshot Below) right now it’s aligned to the left.
Link… (Drive Scent Diffuser – The Car Flame Diffuser (shopifypreview.com)
Password: go2253
Hi @rvernon23 ,
Try this.
.title-wrapper-with-link.title-wrapper--self-padded-mobile.title-wrapper--no-top-margin {
padding-left: 41%;
padding-right: 41%;
}
Result:
I hope it help.
Hi @rvernon23
Add the following code under your Custom CSS section inside your theme customiser:
.title-wrapper-with-link.title-wrapper--self-padded-mobile.title-wrapper--no-top-margin {
width: 100%;
text-align: center;
display: block;
}
That should do the trick! Let us know!
To Where?
Honestly, thank you so much! I’ve been through about 6 different forums telling me to put a snippet code into the theme.liquid and nothing worked. Yours solved my problem perfectly, so thank you kind sir ![]()
Worked PERFECTLY!! So easy! Just added to the custom css on the section! Thank you!!!