Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   posts page (http://forum.bytesforall.com/showthread.php?t=23279)

Harald Sep 11, 2015 09:07 PM

posts page
 
Hi
I am trying to style the layout of the posts page, but I don't know how. I have set a page as home page, and an other page as posts page. When I open the posts page, each post goes over the whole width of the page. I would like the width to be 75%, but I don't know how to change the layout of that particular page without effecting all pages. I have tried :

body.page-id-800 #middle {
width:75% !important;
}

but it does not work.

I have updated both Wordpress and Atahualpa to the latest version.

Would appreciate some help,
Harald

juggledad Sep 12, 2015 01:56 PM

what do you expect to have in the remains 25% of the page?

Whart is the url?

Harald Sep 12, 2015 03:09 PM

Actually, I just want a margen on each side. Sorry for the confusion. As it turns out now, each post goes all the way out to the edge. I don't have it published yet, but the url is http://maypoleinspections.com. I don't have the blog turned on at this point. The home page is a regular page, and I want to use an other page as posts page (the second options on the Read settings.

juggledad Sep 12, 2015 06:16 PM

if you want it to effect ALL post pages (blog, category, archive...), use
HTML Code:

div.post {margin-right: 25%;}
if you only want it on single post pages use
HTML Code:

body.single div.post {margin-right: 25%;}


All times are GMT -6. The time now is 06:06 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.