• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • How to change the padding in forum headers, without effecting padding in wiki articles?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 10 of 10

    Thread: How to change the padding in forum headers, without effecting padding in wiki articles?

    • Thread Tools
      • Show Printable Version
    1. December 20, 2010 #1
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284

      How to change the padding in forum headers, without effecting padding in wiki articles?

      I'd like to remove padding in forum headers, because I want to fill these with a table. How can I do this without affecting wiki articles?
      Reply With Quote Reply With Quote

    2. December 20, 2010 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      You'll notice that the .vw-content container also has the .fh_content class for forum headers.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. December 20, 2010 #3
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284
      Where do I find and edit that?
      Reply With Quote Reply With Quote

    4. December 20, 2010 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      You don't need to edit it, just use the .fh_content class in your CSS rules. You can add it to the end of the vw-header.css template in Wiki Style Manager.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. December 20, 2010 #5
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284
      I do not see vw-header.css in the style manager.
      Reply With Quote Reply With Quote

    6. December 20, 2010 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Sorry this template only exists in vBulletin 4. vBulletin 3 didn't need any special CSS rules for forum headers so the template wasn't included. You can also add the code to any site-wide CSS you already have.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. December 20, 2010 #7
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284
      Im a little confused. Does the .fh_content class exist in Vaultwiki 3?

      If I want to remove/change the padding to 0 and I want the background to be white, then what code should I add to what CSS template?
      Should I add it to vw-important.css ?
      Reply With Quote Reply With Quote

    8. December 21, 2010 #8
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Ideally you should not modify the CSS templates in vBulletin 3, in case they are changed by an update. Instead we recommend adding any changes to your site's separate CSS, or to the additional CSS box in vBulletin's Style Manager.

      The .fh_content class is used on forum headers in VaultWiki 3, but it doesn't have any default configuration for users with vBulletin 3. I can't be sure about this, because it depends on other CSS that's in play, but something like this should work, as long as it loads on the page after VaultWiki's CSS files:
      Code:
      .vw-content.fh_content {
      padding: 0;
      background: #fff;
      }
      
      .fh_content .bodyContent {
      margin: 0;
      padding: 0;
      }
      Not sure if the second bit is necessary, but I've included it just in case.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    9. December 21, 2010 #9
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284
      I added it to vbulletin style manager > additional CSS. But that has no effect.

      I want the forum header in forumdisplay.php?f=174 to be filled with the table and no space between the table and the border of the forum header.
      Reply With Quote Reply With Quote

    10. December 21, 2010 #10
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284
      I added it to vbulletin style manager > additional CSS. But that has no effect.

      I want the forum header in forumdisplay.php?f=174 to be filled with the table and no space between the table and the border of the forum header.
      Reply With Quote Reply With Quote

    Similar Threads

    1. how to change wiki_index to wiki in url?
      By mattpist in forum VaultWiki Questions
      Replies: 1
      Last Post: August 8, 2015, 9:02 AM
    2. Idea: include wiki page in Forum Post (wiki/forum integration)
      By InformationNirvana in forum Ideas & Suggestions
      Replies: 2
      Last Post: December 14, 2011, 12:56 AM
    3. Change style of forum links
      By Mark Hewitt in forum VaultWiki Questions
      Replies: 1
      Last Post: June 3, 2011, 12:14 PM
    4. Possible to Turn Blog Posts or Articles into Wiki articles?
      By theflatline in forum VaultWiki Questions
      Replies: 1
      Last Post: August 9, 2010, 11:59 AM
    5. How to change the Wiki NAVBAR tab link
      By mickknutson in forum VaultWiki Questions
      Replies: 1
      Last Post: June 20, 2010, 9:01 PM

    Tags for this Thread

    able, articles, because, can, change, class, content, edit, effecting, files, find, for, forum, has, headers, how, how to, ice, like, padding, remove, sure, table, the, this, wasn, where, wiki, with, without, you

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 4:28 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.