Hi Guys,
Just wondering if anyone had some code to align centre the collection list title on my homepage ‘Explore our skincare collection’.
url - organicmelody.com.au
A user seeks CSS code to center-align the collection list title “Explore our skincare collection” on their homepage (organicmelody.com.au) using the Dawn theme.
Three solutions were provided:
Mustafa_Ali: Add CSS code in theme.liquid before the closing </body> tag (specific code not visible in transcript)
Moeed: Insert markup code in theme.liquid above the </body> tag, with a visual result showing centered alignment
Rahul_dhiman: Add CSS to base.css file:
.title-wrapper-with-link {
display: flex;
justify-content: center;
}
All respondents included screenshots demonstrating their solutions and requested the user mark helpful answers as accepted solutions. The discussion remains open with multiple viable approaches offered.
Hi Guys,
Just wondering if anyone had some code to align centre the collection list title on my homepage ‘Explore our skincare collection’.
url - organicmelody.com.au
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
before the body ----->
if this code work please do not forget to like and mark it solution
Hey @jackthomasp
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to solve your problem then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @jackthomasp
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.
.title-wrapper-with-link {
display: flex;
justify-content: center;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks