This topic has 11 replies, 4 voices, and was last updated 8 years, 2 months ago ago by Jack Richardson
Hi guys,
I seem to be having a problem with blog post single page, on mobile I would like to center p tags H2, H3 titles.
I can’t seem to get text / titles to centre, the text still appears to be going more to the left rather than dead center?
What is causing this?
I find having text centered on mobile much better.
Website in private content
Just to mention, I have tried adding to custom css via theme options and also directly using media query in custom.css file, makes no difference.
Hello,
I see the texts are centered on mobile. What mobile device are you checking in?
Please show a screenshot.
Regards,
Eva Kemp.
Using iPhone… text is not centered, it’s to the left.
Also you guys did some recent work on my site, since then I noticed bogus links added one of my pages linking to a casino website??
Was not there before!
Hello,
Please, show me screenshot of titles that you want to center. Also provide me screenshot of media query in your child theme style.css or in custom.css that should center elements you need.
Regards
If you could advise of the code needed please, I have removed code now as it didn’t work.
Hello,
Please, add the code and send me screenshots of elements that are not centered and screenshot of your code.
Regards
I am still waiting for you to advise of the code needed to center text on single blog pages??
Hello,
Please add the code and send us screenshots of elements that are not centered and screenshot of your code.
Best regards,
Jack Richardson.
I will try and do this today.
Do you not know the code to centre blog text?
Hello,
If you want to center content on single blog post page on mobile try to use the following css code:
@media only screen and (max-width: 768px) {
.blog-post.post-single {
text-align: center;
}
.blog-post.post-single .content-article div {
max-width: none !important;
}
}
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up