WordPress.org

Ready to get started?Download WordPress

Forums

Page content width (8 posts)

  1. shanakar
    Member
    Posted 2 years ago #

    Hi all. I have a problem with the width of the content area on pages. My site url is http://f12007rf.mak-corp.net/?page_id=38

    I want the content area on my pages to take up the entire page width but can't get it to work.

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    please create a child theme http://codex.wordpress.org/Child_Themes of Twenty Eleven before you continue with your customisations.

    it is important to have an unedited default theme (Twenty Eleven for wp3.3) in case of problems. a child theme also helps to keep the cusomisation during an upgrade.

    once you have your child theme up and running, the forum should be able to help you with your question.

  3. shanakar
    Member
    Posted 2 years ago #

    Um, my theme isn't edited though. I have two plugins installed called

    Pixelentity - Estro Slider
    and
    WordPress Post Tabs

    and the only thing that's changed in the theme is adding one piece of code in page.php for the slider to appear above the menu and that code is...

    // alternatively, if the above doesn't work for you (code in included in a function)
    $GLOBALS['peEstroPlugin']->the_slider(1);

    And that does not replace or change anything. Aside from adding that on the page.php file, nothing else has been altered in the theme files.

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    Um, my theme isn't edited though.

    fine - before you start editing, please create a child theme.

  5. shanakar
    Member
    Posted 2 years ago #

    Ok so once I create a child theme, what should I edit to try and make the content area wider? Is there a specific line of code etc?

  6. alchymyth
    Forum Moderator
    Posted 2 years ago #

    create the child theme first;

    please post here again once your child theme is working.

    someone might then be able to answer your question.

  7. michaelhastrich
    Member
    Posted 2 years ago #

    You'll need to modify the css file. Search for the class .entry-content. The width of that div is set to 68.9%. You can change that to 100% for it to take up the width of the content area.
    Hope this helps.

  8. Pavan
    Member
    Posted 2 years ago #

    In your css:

    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title{
         width:100%;
    }

    It swill fix your issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.