Archived topic
text in the middle of the post gets center aligned
9 replies · Started by faisal on August 28, 2020
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
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.
Do i need to paste the code you sent in css ?
How to debug this error please help . What is the solution ?
Right now i am re-editing the posts . Will this error again happen to me ?
You need to remove class="text-center" from the HTML content then remove this CSS:
.text-center {
text-align: center!important;
}
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
If you cannot make videos . Let me know . I can surely make videos for you iasbhai2019@gmail.com
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.