Change Width of Page for Single Post
-
Hi All,
I need to extend my layout. Perhaps I may have missed something. It’s a two col layout. I want the side bar on the front page but not in the single pages.
I have added this to the header: <body <?php body_class(); ?>>
I have this in this at this at the bottom of the css
.single-php .art-contentLayout .art-content {
border:0 none; clear:left; float:left; margin:0; overflow:hidden; padding:0; position:relative;
}
.page-php .art-contentLayout .art-content {
border:0 none; clear:left; float:left; margin:0; overflow:hidden; padding:0; position:relative;
}
For the two pages. single.php and page.phpMy CSS has this in it:
/* begin LayoutCell */
.art-contentLayout .art-content
{
position: relative;
margin: 0;
padding: 0;
border: 0;
clear:left;
float: left;
overflow: hidden;
width: 599px;}
.art-contentLayout .art-content-wide
{
position: relative;
margin: 0;
padding: 0;
border: 0;
clear: left;
float: right;
overflow: hidden;
width: 998px;
}Any help is greatly appreciated.
Thanks in advance,
George
- The topic ‘Change Width of Page for Single Post’ is closed to new replies.