[Resolved] Header title and tagline have moved to the left on home page(should be centered)

Home Forums Support [Resolved] Header title and tagline have moved to the left on home page(should be centered)

Home Forums Support Header title and tagline have moved to the left on home page(should be centered)

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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!
    Alana

    #921758
    David
    Staff
    Customer Support

    Hi 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:

    https://generatepress.com/fastest-wordpress-theme/

    #921781
    Alana

    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.

    #921798
    Leo
    Staff
    Customer Support

    So the code is showing that it should be centered:
    https://www.screencast.com/t/LOCDW8i1KdL

    And 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 πŸ™‚

    #921807
    Alana

    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!

    #921812
    Leo
    Staff
    Customer Support

    Tagline 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.

    #921865
    Alana

    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.

    #921870
    Leo
    Staff
    Customer Support

    I 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?

    #921879
    Alana

    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

    #921881
    Leo
    Staff
    Customer Support

    Maybe try:

    .entry-content p {
        text-align: justify;
    }
    #921882
    Alana

    Thank you so much Leo!!! All is right with the world πŸ™‚

    Have a great weekend!

    #921885
    Leo
    Staff
    Customer Support

    No problem.

    You as well πŸ™‚

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.