• Resolved Justin Tuijl

    (@static1635)


    Hi, I often have a post of centered text, in the backend it is centered, but when viewed at the front end it is left aligned. Inspecting the code is says: has-text-align-center

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @static1635,

    Please put the CSS below in Customizing > Custom CSS/JS > CSS Code:

    .has-text-align-center {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    Please read this link for more information about the CSS/JS code on the customizer: https://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website.

    Note: if you have any cache plugin or server cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents or disable them to see your changes. Also, remember to click on the regenerate all assets file and data in Elementor > Tools(if you have Elementor).

    I hope that helps.
    Best Regards

    Thread Starter Justin Tuijl

    (@static1635)

    Thanks, that worked perfect.

    You’re most welcome, and I’m glad we could help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post text does not center align’ is closed to new replies.