[Resolved] text in the middle of the post gets center aligned

Home Forums Support [Resolved] text in the middle of the post gets center aligned

Home Forums Support text in the middle of the post gets center aligned

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1421483
    faisal

    I am worried a lot with this error . Please help
    Kingly reply .
    https://iasbhai.com/swachh-survekshan-report-2020/
    https://iasbhai.com/faceless-e-assessment-honouring-the-honest/

    and there are some posts which are perfectly fine :
    https://iasbhai.com/10-reasons-why-assam-faces-floods-every-year/

    Please Please help

    #1421501
    faisal
    #1421609
    David
    Staff
    Customer Support

    Hi there,

    some of your content is wrapped in a DIV with the text-center class e.g

    <div class="text-center" style="text-align: left;">
    
    ... your content
    
    </div>

    Which you have this CSS for:

    .text-center {
        text-align: center!important;
    }

    Which is forcing all styles to center.

    #1423716
    faisal

    Do i need to paste the code you sent in css ?

    #1423717
    faisal

    How to debug this error please help . What is the solution ?

    #1423718
    faisal

    Right now i am re-editing the posts . Will this error again happen to me ?

    #1424115
    Leo
    Staff
    Customer Support

    You need to remove class="text-center" from the HTML content then remove this CSS:

    .text-center {
        text-align: center!important;
    }
    #1424828
    faisal

    Thank you so much David and Tom , Brilliant !
    I want to ask you a question !
    Can you please make a detail video in youtube ?
    How to use sections to make Home page , Landing page , etc ?
    Please help us by videos . Generatepress is a great theme . Videos can reach better ,
    NON TECHIES like me find it really hard to understand hooks etc .
    We can atleast save page load times . Please give us more information virtually .
    Your presence can help us a lot on social media .
    There is no youtube channel .
    The forum is so much populated . It has become google

    #1424830
    faisal

    If you cannot make videos . Let me know . I can surely make videos for you iasbhai2019@gmail.com

    #1424897
    David
    Staff
    Customer Support

    For this kind a thing we recommend using the Block Editor and the GenerateBlocks plugin:

    https://wordpress.org/plugins/generateblocks/

    This will allow you to visually create and style rich layouts without having to use HTML.
    Its super lightweight – it just generates the HTML and CSS you would require.

    Give it a go – we would love to hear you feedback.

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