Hello,
For jakeschilistarter.com, on all of the header file pages which appear for public view (example: About), Crave theme, is the code below, which should not be there:
/* center home title only */ .template-index .section-header__title { text-align: center; }
The code is usually at the bottom, but not always.
On the regular page files for edit, this code is missing.
Any suggestions?
Thanks, William
Hello @JCStart
You can see .template-index means it indicate the css code work for Homepage only
Hello @JCStart ,
We would suggest you the following solution.
You may write the CSS code without a style tag in the “sections/main-page.liquid” file.
Hence, you need to go to themes, open this file and remove this code or include it in the style tag.
Refer below images
Without style tag:
image.png
With style tag:
image.png
Hope this will resolve your issue. Please feel free to connect with us for further help.
Regards,
CedCommerce
Thanks Ced, in “sections/main-page.liquid”, the following code at line 30 solved the problem.
The file pages look normal now without the:
/* center home title only */ .template-index .section-header__title { text-align: center; }
on the page for public view.
Much appreciated,
JCS
/* center home title only */ .template-index .section-header__title { text-align: center; }
works!