View Full Version : How to add Border around all of the page....
2C Drones
03-10-2014, 10:01 PM
I would like to know how to add a border all around the page on every page.
Also how to make it fluid on every page as well.
5.05
I have not made any changes to it at all.
Thank you for any help!:up:
da_judge
03-10-2014, 10:17 PM
Is that on the default theme
tbworld
03-10-2014, 10:56 PM
I would like to know how to add a border all around the page on every page.
Also how to make it fluid on every page as well.
First, I am no expert on vb5, but by default most responsive layouts are fluid, usually in a fixed style they are bordered. Obviously, if you made your style fixed you would loose the responsive state, although you can use a second style for mobile. If this is what you want to do, reply and I will look into it.
@Lynne and @Zachery are probably the expert's here on this question.
2C Drones
03-11-2014, 12:56 AM
Yes Judge it is the default theme.
tbworld - So do I need to get a different layout/theme? Get rid of the default theme?
tbworld
03-11-2014, 06:25 AM
I was waiting for someone more knowledgeable with vb5 to answer this question for you. If know one replies I will take a look it for you.
What is your desired width for your page/document?
PSiggy
03-11-2014, 09:26 AM
Hi, what do you mean by "around the page"? If you want to add border around the content, add following into your additional.css (admincp > style manager -> choose your style > CSS templates > additional.css)
#wrapper {
border: 10px solid black;
}
Also, I'm not sure what you mean by making the border fluid, but I guess you're looking for box-shadow css property (http://www.w3schools.com/cssref/css3_pr_box-shadow.asp).
2C Drones
03-11-2014, 12:57 PM
Thank you PSiggy, that's what I wanted.
TommyHara
03-11-2014, 01:26 PM
Using css border or you can use rounded corner images for your main forum layout to make it look attractive for viewers.
2C Drones
03-11-2014, 11:54 PM
How do you do that Tommy?
ozzy47
03-11-2014, 11:58 PM
While rounded images sound like a good idea, they add extra load to the server to deliver them, if they are rounded via css.
2C Drones
03-12-2014, 01:56 AM
On the border which looks great, what do I add to the script to make the corners round on it? The border is exactly what I want but I think rounded corners would look better.
ozzy47
03-13-2014, 02:02 AM
Change the CSS you added to this:
#wrapper {
border: 10px solid black;
border-radius: 10px 10px 10px 10px;
}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.