![]() |
Forum Wrapper and Moving Text
Is it possible to add an image to go around my forum instead of just a line? I've searched for wrapper etc but I can't work out where I need to add the code.
Also http://bumples.co.uk/vb4/forumdisplay.php?2-Main-Forum How can I move the text 'Forum: Main Forum Main Forum Description' over so that there is a space before it? Thanks! |
What do you mean have an image go around? Can you post a link to an example or an image of an example?
And you want space just before the text "Forum: Main Forum"? Change stylevar "pagetitle_padding" to add some padding to the left. |
Thanks Lynne that worked :)
An example of the forum wrapper is here http://www.themesbase.com/preview/?preview=6959 The purple edging is what I want to add. |
They applied a class called "border" to the right and left column of the table (main content is in the center column) and then added this CSS for it:
HTML Code:
.border { background-color: #B4B5CC; background-image: url("images/recipe/recipe_bdr.gif"); background-repeat: repeat-y; width: 10px;} |
Thanks again!
Just one more question - how and where do I add the class? I really wanted to work it out myself but I can't :( |
I always add extra CSS to the additional.css template.
|
Ah yes I thought that but I wasn'[t sure about this
Quote:
|
Quote:
|
OK I'll give that a go cheers! Could you tell me where I do that - which file/stylevars.
|
This would have to all be custom. Find the div you want to put the border around and then put a div around that and give it isn't own class, like .myborder:
HTML Code:
<div class="myborder"> HTML Code:
.myborder {background:url(whatever....) blue repeat etc; margin: 10px;} |
Brill thanks for that! Would that be forum home?
--------------- Added [DATE]1298380735[/DATE] at [TIME]1298380735[/TIME] --------------- I found another thread which I tried but it didn't work https://vborg.vbsupport.ru/showthread.php?t=248980 |
What didn't work? Exactly what are you trying to put a div, with the border, around? Do you have an image of what you want to achieve?
|
Well I'm not exactly sure! I really am a n00b with vB and all its files.
Reading that thread it said about putting the code in the header so I put - Code:
<div class="myborder"> I want to achieve this edging http://www.themesbase.com/preview/?preview=6959 |
What you are doing is only going to put a border around the very top part of your forum. The navbar template is the area where the tabs are at the very top. If you want it down the whole entire page, you're gonna need to put it right below the <body> tag (at the top of the header) and right above the </body> tag (at the very bottom of the footer).
|
Blimey I can't believe I'm not getting this!
All I can see in those templates is PHP Code:
PHP Code:
|
OK, so....
HTML Code:
<div class="border"> HTML Code:
<vb:if condition="$vboptions['enablefacebookconnect']"> HTML Code:
.border{background: pink; padding: 0 10px;} |
Thank you for being patient! I got it!
Just one little thing lol is it possible to get the border going right across the top too? Above the logo and facebook connect button? http://bumples.co.uk/vb4/forum.php |
Yes. Change the padding to include the top - padding: 10px 10px 0;
|
Thanks Lynne!
Could you just take a quick look and see that the bottom border is really wide. Can I change that? (Last border question!) |
You don't have a background color for the bottom info - forum time, copyright, etc - and so it is showing the same background you input for the border. So, either end the border div right above it - right above the <div class="below_body"> tag, or add a background to that class - .below_body {background: pink;}
|
All times are GMT. The time now is 01:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|