ThemeShaper Forums » Thematic

[closed]

Full Width issue

(3 posts)
  • Started 6 years ago by Jagst3r15
  • Latest reply from Jagst3r15
  • This topic is resolved
  1. Hey, so I have this page http://jagst3r15.com/kb/ set to Full Width, but as you can see it is not extending the full 988px or whatever the container is - the container is set to a certain number for the default page and such, but I am not sure how to fix this without messing up the container for the other pages (i.e. if I make the width of the container 'auto' then the sidebars will get messed up). Any ideas on how to work around this?

    Posted 6 years ago #
  2. fwunder
    Member

    @Jagst3r15,

    Perhaps you might want to look at body classes. That particular page shows a number of classes you could target:

    page page-id-13 page-template page-template-template-page-fullwidth-php

    if you just want to target that specific page, and make it fill the width of it's parent div, this might help:


    body.page.page-id-13 #container {
    width:100%;
    }

    Posted 6 years ago #
  3. Hi thanks, this worked. I want to make it so when I release this theme people can do this without editing the code, so is this a good fix for that:

    body.page-template-template-page-fullwidth-php #container {
    width:100%;
    }
    body.page-template-template-page-fullwidth-php #comments {
    width: 632px;
    }
    Posted 6 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.