-
-
I wish to change the content width only for blog posts and not pages.
I try adding the following code
#content { width: 685px; margin: auto; }
However, it obviously changes the width for pages also. Would appreciate if you can help.
-
Hello,
This happens because the css class targeted is present in all pages as well. To make it point only to the blog’s content, edit the above code to this:
.blog #content { width: 685px; margin: auto; }
Or add the code into the blog’s page custom css box. See screenshot: https://pho.to/AbuPq
Best regards!
-
Thanks Mihaila,
However, the code provided by you changes the width of the page with the list of the blog posts.
I am looking to change the width of the a single blog article.
Thanks for help.
Pawan
-
-
You must be logged in to reply to this topic.