1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Simple Editing in VBulletin forum - Change width of template and Menubar..!!

Discussion in 'Programming' started by Postingpays, Aug 19, 2010.

  1. #1
    Hi there,

    My friend has just installed VBulletin with the same template used in DP.

    1. Now if want to make this width of this green template to 100% (Its showing Grey spaces, which I want to remove in order to utilize more space)
    2. Plus, I want to lessen the block width showing in the right side of VBulletin.

    Please reply there and I will send you the website link as it may not be appropriate to mention it here. (May be against DP's rules). Please don't tell me to get help from VBulletin forums. I hope I am going to get fast reply from DP members.

    Waiting for your kind help DP members..!!
     
    Postingpays, Aug 19, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1. Remove margin: 0 35px from the body selector in the stylesheet.
    2. Not sure what part you mean.
     
    Cash Nebula, Aug 20, 2010 IP
  3. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #3
    For no. 2, do you mean the forum sidebar?

    If yes, you can adjust the width of the sidebar by editing forum_sidebar_width under StyleVars of your template.

    - Dynashox -
     
    dynashox, Aug 20, 2010 IP
  4. Postingpays

    Postingpays Well-Known Member

    Messages:
    1,071
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    185
    #4
    Wow, works like a charm, Just one addition left as I said:

    Now if want to make this width of this green template to 100% (Its showing Grey spaces, which I want to remove in order to utilize more space)
     
    Postingpays, Aug 20, 2010 IP
  5. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #5
    Under your template StyleVars, edit doc_width.

    Set the value of Unit to % and value of Size to 100.

    - Dynashox -
     
    dynashox, Aug 21, 2010 IP
    Postingpays likes this.
  6. Postingpays

    Postingpays Well-Known Member

    Messages:
    1,071
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    185
    #6
    It was something mentioned in the margin. I have changed that from your hint. Thank you ..!!
     
    Postingpays, Aug 22, 2010 IP
  7. GeeOne

    GeeOne Well-Known Member

    Messages:
    3,238
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    125
    #7

    Can not find forum_sidebar_width in VB 4.2.0 ? How to edit in that case?

    G!
     
    GeeOne, Feb 12, 2013 IP