The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Forgive me If I placed this in the wrong section.
Well I am trying to add a left and right border to my forum. If you see the attachments you will see my left & right borders I plan on using as the border for my forum. Another sample is supplied to give you guys a visualization of what I am trying to do. The red lines indicate where I want my borders to go. If anyone can assist me that would be awesome.
|
|
#2
|
||||
|
||||
|
your idea looks like my forum border that I made http://www.webmastersun.com ?
you need create a image file with height 1px and width depends on your forum width add css Code:
.mainwrapper
{
width: 1025px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
background-color: transparent;
background-image: url("http://www.webmastersun.com/images/piewrapm.png");
background-repeat: repeat-y;
background-attachment: scroll;
background-position: left top;
background-clip: border-box;
background-origin: padding-box;
background-size: auto auto;
z-index: -1;
}
Good luck! |
|
#3
|
||||
|
||||
|
You would of course have to change this line to your site and image path.
Code:
background-image: url("http://www.webmastersun.com/images/piewrapm.png");
|
|
#4
|
||||
|
||||
|
Hmm nope never saw your website before.
Also your code did not work for me. The background image did not show up. I added the code to additional.css. was that the correct section? Anyone else? --------------- Added [DATE]1384699485[/DATE] at [TIME]1384699485[/TIME] --------------- Quote:
![]() Also webmastersun it did not work but thanks. |
|
#5
|
||||
|
||||
|
Did you add a div with class mainwrapper around your forums (or whatever you want to have the border)? If you don't use that class, then any CSS you write for it is useless.
|
| Благодарность от: | ||
| tbworld | ||
|
#6
|
||||
|
||||
|
No I did not. Would you mind explaining how? I've just been playing around with the Stlyevars. No good.
|
|
#7
|
||||
|
||||
|
You need to put <div class="mainwrapper"> around the area you want to have the border (and the </div> at the end).
|
|
#8
|
||||
|
||||
|
Quote:
Cheers! |
|
#9
|
||||
|
||||
|
Link sent through PM.
|
|
#10
|
|||
|
|||
|
Did you get the border in? I am curious to this as well. could you send me a link to the finished product? Thanks!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|