Styling your custom page template
-
In my new template there is no sidebar area, only a content area, but the content area is too narrow. FYI i have created a child theme and i added this to my style.css:
.page-template-Archive-News-php #primary {
margin: 0;
}
.page-template-Archive-News-php #content{
margin: 0 7.6%;
width: 100%;
}The new template’s name is Archive-News.php, All i want is for the content area to span the width of the page.
This is the page: http://developyst.org/blog/archive-news/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Styling your custom page template’ is closed to new replies.