How can you remove a sidebar completely on vigilance theme?

  • Unknown's avatar

    Hi,

    I am currently using the vigilance theme and would love to learn how to remove the sidebar completely from my pages. Also, is there a way to only remove the side bar from a few of my pages?

    Finally, I would really like to learn how to remove the option for leaving comments. Thank you for your help!

    Anastasia
    Blog url: http://anastasiathyroff.wordpress.com/

  • Unknown's avatar

    Oh! And is there a way to make the sidebar different on each page?

    Thank you!

  • There is no direct way to remove it, but you can hide it in a sense by adding just a blank Text widget to it.

    The sidebar cannot be changed on a page-by-page basis.

  • Unknown's avatar

    Hi Mac – thanks for the quick response!

    I just tried adding a text widget (and left it blank), but there is still a lot of blank space on the right side. Is there a way to make the main area larger and fill some of that space?

    Also, is there a way to remove comments?

    I’m new to this, so I’m sorry if there are obvious answers. Thanks!

    Anastasia

  • There isn’t any way to completely remove the sidebar unless you have a Custom Design upgrade. If you do, you can hide the sidebar and expand the width of the content column via CSS.

    http://en.support.wordpress.com/custom-design/custom-css/

    You can disable comments following this guide: http://en.support.wordpress.com/enable-disable-comments/

  • Unknown's avatar

    Oh – good! I have already purchased the Custom Design Upgrade…

    I’m just not sure how code a CSS that allows me to hide the sidebar on the vigilance theme. Could you help me with that?

    Thank you

  • Unknown's avatar

    To stretch the content area in the Vigilance theme, use this:

    #content {
    width: 920px;
    }

    And this CSS would work to hide the sidebar even if someone tried to add a widget to it:

    #sidebar {
    display: none;
    }
  • Unknown's avatar

    Thank you so much… this has been very helpful. I have been trying to play with CSS code myself now and hopefully I will get the hang of it soon.

    I would now like to get the description fontsize larger and have been trying this… but doesn’t work. Do you have any advice?

    #description {
    float: left;
    margin-top: 15px;
    }
    #description h2 {
    font-size: 1.2em;
    font-weight: normal;
    color: #666;
    }

    Also, do you know any CSS override that would make the menu font size smaller? Thank you again for all of your help!

  • Unknown's avatar

    Your CSS looks good, however, what is happening is that you set a custom font and font size for heading on your Appearance → Custom Design → Fonts page and that is a more specific rule than the (also correct) one that you’re trying to add. There are a couple ways around this. One is to use the specific class assigned by the fonts page:

    .wf-active #description h2 {
    font-size: 1.5em;
    font-weight: normal;
    color: #666;
    }

    Keep in mind that is overriding the fonts settings from the other page, so those will stop working for the area you target with custom CSS like in the example above. So the trick is just keeping track of where you set the most specific rule. :)

    Another way is to use !important which works like this:

    #description h2 {
    font-size: 1.5em !important;
    font-weight: normal !important;
    color: #666 !important;
    }

    Last, note that 1.2em is a very similar size to what is currently in use based on the font size you selected on the fonts page (1.27em) so you may not notice much of a difference if you use 1.2em.

  • Unknown's avatar

    To make the menu font size smaller when you have already adjusted font size via the Appearance → Custom Design → Fonts page, the same rules apply. You need to use a more specific rule than the one set by the fonts page.

    This will work:

    .wf-active #nav {
    font-size: 1.3em;
    }

    Or this:

    #nav {
    font-size: 1.3em !important;
    }
  • Unknown's avatar

    This is so helpful – Thank you very much.

    I will keep trying to learn CSS…

  • Unknown's avatar

    I would like to ask another basic question if that is OK. I would like my post page to be my ‘dissertation’ page, so I can give updates on how my dissertation is coming along. However, I noticed today when I made my first entry, my page dissertation description originally on that page went away. Is it possible to keep a static dissertation description and image on the top of a post page? Thank you for your help!

    Anastasia

  • Unknown's avatar

    sorry! I just noticed that the ‘dissertation’ page is keeping static information, but it is defaulting to my home screen information (and not my original dissertation information). Is there a way to make my dissertation page my post page and keep my original dissertation information on there (preferably, at the top of the page), rather than home screen information?

    Please let me know if this does not make sense or you need more clarification. Thank you

  • Sure, you can set that at Settings -> Reading in your blog’s Dashboard.

    Set the Homepage

  • Unknown's avatar

    I have already done that… If you could still help me with the issue above I would greatly appreciate it –

  • Unknown's avatar

    Sorry, I guess I should give more information so you can help better. I already have my front page set as ‘home’ and it is static. I also have selected by dissertation page to be my posts page. However, when I did this (using Settings -> Readings), my dissertation page shows all of my home screen information (and not my original dissertation information).

    Is there a way to make my dissertation page my post page and still keep my original dissertation information on there (preferably, at the top of the page), rather than home screen information?

  • No, the page that you set as your posts page will only show the posts. It can’t show both the posts and its page content.

  • The topic ‘How can you remove a sidebar completely on vigilance theme?’ is closed to new replies.