WordPress.org

Ready to get started?Download WordPress

Forums

Kvarken
[resolved] [closed] How To Change Content Width On a Single Page (7 posts)

  1. orient33
    Member
    Posted 11 months ago #

    Hello everybody,

    Quite a forum you have here, I just registered! :)

    So, I'm using a free Theme: Kvarken

    I want to create a landing page and I have removed the right bar widgets, using the plugin: "Dynamic Widgets"
    (This plugin might be causing my problems?)

    So, I have tried to extend the content width with css, I have tried:

    body.page-id-7 .content {
    width: 100%;
    }

    (I have also tried numerics like 960px, 1200px - no result. Also tried to do it by
    body.page-id-7 .one-column #content { width:100%; }

    I did quite a research before posting, nothing css related seemed to work.

    Im don't understand PHP, so if you are referring to updating files, please be specific :)

    Link to my site: http://breakweed.com/how-to-quit-smoking-weed/

    Thanks a lot!

  2. paulwpxp
    Font hero
    Posted 11 months ago #

    For a page only, a known published page with id=7, use this

    .page-id-7 .container { float: none; width: 100%; }
    .page-id-7 #rightsidebar { display: none; }
    .page-id-7 #respond { margin: 0 auto; max-width: 600px; }

    It would be great if theme uses is_active_sidebar() before output the html for sidebar, with body class filter adding in a no-sidebar class, so that child theme can build upon, or Widget Logic plugin can just work.

    But for front page only, the CSS method is good enough.

  3. orient33
    Member
    Posted 11 months ago #

    The CSS worked! Thanks A LOT PAUL! :)

  4. Carolina Nymark
    Member
    Theme Author

    Posted 11 months ago #

    I'll make sure to add this and a full width template in the next update :)

  5. Carolina Nymark
    Member
    Theme Author

    Posted 10 months ago #

    Marking this topic as resolved with the latest version of the theme.

  6. anyates25
    Member
    Posted 1 month ago #

    i've tried all kinds of suggestions on the forums. can't seem to fix it. i need the width of my page http://www.amberandsteph.com/creating-your-vision to look like this page http://www.amberandsteph.com/coaching

    can someone please assist me in fixing this? thanks!

  7. esmi
    Forum Moderator
    Posted 1 month ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 10 month old resolved topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.