ThemeShaper Forums » Thematic


page specific css

(5 posts)
  • Started 5 years ago by rame
  • Latest reply from rame
  • This topic is not resolved
  1. Hi,

    I am working on a site and need to set the with of #content and #container to 100% on one single page (projekt)

    I have tryde diferent options but non is working.

    On the page "projekt" i have a nextgen gallery and i whant it to use the enteir with of #main.

    if #content and #container is set to 100% in css it nocks down the sidbar so i need this to be set only on "projekt"

    i am using a child them and thematic

    Posted 5 years ago #
  2. 02rilund

    1. copy "page.php" from the thematic folder and paste it in you child theme folder.
    2. rename the file template-fullpage.php
    3. open the file and add :

    Template Name: Full Page

    in the beginning of the document, before any other code.

    4. Remove the codepart:

    // calling the standard sidebar

    5. open "style.css" from your child theme folder and paste:

    /* =Page Templates
    -------------------------------------------------------------- */

    .page-template-template-fullpage-php #container {

    .page-template-template-fullpage-php #content {
    margin:0 0 0 10px;

    5. go to your page "projekt" and choose the template "Full page"

    Posted 5 years ago #
  3. You could remove the side bar by using a bit of code on your functions.php file. Chris explains this well here;

    Posted 5 years ago #
  4. Thanks for the quick answers. I will try it out to morrow and get back with a report.

    Posted 5 years ago #
  5. Thank you ! ! it worked like a charm!

    Posted 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.