Home › Forums › Support › Header title and tagline have moved to the left on home page(should be centered)
- This topic has 11 replies, 3 voices, and was last updated 4 years ago by
Leo.
-
AuthorPosts
-
June 6, 2019 at 8:00 am #921747
Alana
Hi,
I started working on my home page and noticed that the header title and tagline suddenly shifted to the left (instead of staying centered as they were set originally). Please help me fix this. Btw, I checked the setting on the customize view and nothing changed there so this is puzzling.
Thank you!
AlanaJune 6, 2019 at 8:09 am #921758David
StaffCustomer SupportHi there,
can you flush the Siteground optimizer cache, if that doesn’t work then flush it again and disable it. If that resolves the issue then personally i would remove the plugin and use something like Autoptimize instead, we provide some tips on its setup here:
June 6, 2019 at 8:27 am #921781Alana
Hey David, how would I go about doing that?
Also, I don’t think that’s the issue since I’ve been running SG Optimizer this whole time without problems and the other pages aren’t affected. It was only when I started editing the home page that I ran into issues with the header / tagline.
June 6, 2019 at 8:56 am #921798Leo
StaffCustomer SupportSo the code is showing that it should be centered:
https://www.screencast.com/t/LOCDW8i1KdLAnd as you said it used to work so something else is causing a conflict.
I agree with David that it might be the caching issue. You can check with their support to see how to disable the SG Optimizer.
If not you will need to go through #1 here:
https://docs.generatepress.com/article/debugging-tips/Let me know π
June 6, 2019 at 9:05 am #921807Alana
Hey Leo, I’ve cleared the cache (issue persists). There’s no issue on the category pages. One other difference that I made before noticing this problem was that I added a tagline. Is there a reason why this might cause a formatting problem for the homepage header title / tagline?
Thanks for the help Leo and David!
June 6, 2019 at 9:09 am #921812Leo
StaffCustomer SupportTagline definitely shouldn’t cause this issue.
Definitely weird that it’s working on the category pages – but that also shows GP isn’t the problem as the code is exactly the same.
You will need to go through the debugging tips as I suggested above unfortunately.
June 6, 2019 at 10:39 am #921865Alana
Also, I’ve noticed this code difference between the homepage (with the issue) and my other pages/categories (with no issue): in the problematic page “text-align: center” is crossed out
I’ve tried disabling the SG Optimizer plug-in to see if it is causing an issue and it did not resolve this.
June 6, 2019 at 10:46 am #921870Leo
StaffCustomer SupportI see the issue now.
Did you add this CSS to that specific page?
p { text-align: justify; }
Looks like it’s in the SimpleCSS metabox maybe?
June 6, 2019 at 10:54 am #921879Alana
Hey Leo, I did! I was trying to justify just the block text on that page. How should I fix this issue? And get it so that the block text is justified
June 6, 2019 at 10:56 am #921881Leo
StaffCustomer SupportMaybe try:
.entry-content p { text-align: justify; }
June 6, 2019 at 10:59 am #921882Alana
Thank you so much Leo!!! All is right with the world π
Have a great weekend!
June 6, 2019 at 11:04 am #921885Leo
StaffCustomer SupportNo problem.
You as well π
-
AuthorPosts
- You must be logged in to reply to this topic.