The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
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 |
#12
|
||||
|
||||
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?
|
#13
|
|||
|
|||
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"> <div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header"> <div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> <div id="toplinks" class="toplinks"> <vb:if condition="$show['member']"> I want to achieve this edging http://www.themesbase.com/preview/?preview=6959 |
#14
|
||||
|
||||
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).
|
#15
|
|||
|
|||
Blimey I can't believe I'm not getting this!
All I can see in those templates is PHP Code:
PHP Code:
|
#16
|
||||
|
||||
OK, so....
HTML Code:
<div class="border"> <div class="above_body"> HTML Code:
<vb:if condition="$vboptions['enablefacebookconnect']"> {vb:raw facebook_footer} </vb:if> </div> </div><!-- to close border --> HTML Code:
.border{background: pink; padding: 0 10px;} |
#17
|
|||
|
|||
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 |
#18
|
||||
|
||||
Yes. Change the padding to include the top - padding: 10px 10px 0;
|
#19
|
|||
|
|||
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!) |
#20
|
||||
|
||||
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;}
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|