Bootstrap help

I'm using the latest version of Vanilla and the Bootstrap theme. I am trying to remove the side bar and I'd like to make the page content centered and full width. How would I go about doing this?

This is not a bot msg lol @R_J

Comments

  • .page-sidebar {
    float: left;
    width: 100%;
    }
    .page-content {
    float: left;
    width: 100%;
    }
    
  • Were would I paste the code? @vrijvlinder

  • You need to study the Bootstrap tutorials if you are going to use that theme. For theme support you must use the github link provided in the theme's page.

    search the forum I found this which covers it all pretty much...

    http://vanillaforums.org/discussion/29808/wheres-the-main-html-file

  • No like were do I paste this code in the default.master.tpl file

  • You can paste it anywhere you think is a good place. Just take a wild guess ....

    You don't seem to know the basics, maybe read the docs ? There are many tutorials. Look at the tutorial section. If you don't know where to add css, you need to seriously look at the documentation or read tutorials posted on the link I gave you.

  • Okay Give me 1hr

  • SkismaSkisma New
    edited May 2015

    The code vrijvlinder gave you will go in your theme's .css file, whichever bootstrap theme you're using. The .tpl file is essentially the markup that sets everything up on the page, but the styling is done through css.

  • @Skisma That's the point I don't know what one to pick I'm in the themes/bootstrap/design
    Can you tell me what css file do I paste it in

  • It depends on which bootstrap theme you're using. For example, I'm using the yeti theme so I make my modifications in custom_yeti.css.

    Just keep in mind that when you update your bootstrap later down the road that your CSS modifications will be overridden by the default files. You'll need to keep a copy of your CSS file on your computer for when this time comes.

  • Can you paste it in for me http://pastebin.com/mizKzaZA I don't know were put the code? every time I just paste it under all of that it dose not work.

  • I'm using the same theme

  • Nvm I'm good thanks for all the help guys.

  • Nvm what I said I still need help @shishira

  • R_JR_J Admin

    Get yourself the CSSEdit plugin: http://vanillaforums.org/addon/cssedit-plugin
    You can edit css in the dashboard of your forum and don't have to search for css files.

  • Yea do what RJ said. Personally, I just use this to test my CSS before adding it to my file. But you can simply use it to make your changes without ever messing with your files. It's a great tool!

  • Thanks for all the help guys.
    AKA I'm not a bot

Sign In or Register to comment.