URL is www.daughterofanangel.com
Password is JENNA
I am trying to center all of the blog posts, date, header, blog title, etc,
Thank you!
A user seeks help centering various blog elements (posts, dates, headers, titles, etc.) on Shopify’s Dawn theme for their store.
Solutions Provided:
Two support contributors offered CSS-based fixes:
base.css file targeting .article-template and .article__template-social-sharing classes with text-align: center and flexbox properties.article-card__excerpt within .slider-mobile-gutter.article-card elementsStatus: The original poster confirmed the first solution worked successfully. The discussion appears resolved with multiple working code snippets provided for different blog element centering needs.
URL is www.daughterofanangel.com
Password is JENNA
I am trying to center all of the blog posts, date, header, blog title, etc,
Thank you!
HI @jennarose
You can try follow this path:
Themes => edit code => asset => base.css
and add this code to bottom of the file base.css
.article-template {
text-align: center;
}
.article-template__social-sharing {
display: flex;
justify-content: center;
}
Hello @jennarose
I would like to give you some recommendations to support you
you can follow these steps:
Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages Support Team
Thanks! it worked. is there anyway I can center the blog preview on the home page. (under each blog photo)
Hello @jennarose
Let’s try adding this code :
.slider-mobile-gutter .article-card__excerpt{
text-align:center !important;
}
Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages Support Team
Hi @jennarose
You can try to use this code
.article-card {
text-align: center;
}