Support » Theme: Kvarken » How To Change Content Width On a Single Page

  • Resolved orient33

    (@orient33)


    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    The CSS worked! Thanks A LOT PAUL! 🙂

    Theme Author Carolina Nymark

    (@poena)

    I’ll make sure to add this and a full width template in the next update 🙂

    Theme Author Carolina Nymark

    (@poena)

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

    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!

    esmi

    (@esmi)

    Forum Moderator

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How To Change Content Width On a Single Page’ is closed to new replies.