vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Forum Wrapper and Moving Text (https://vborg.vbsupport.ru/showthread.php?t=259129)

Daisyboo 02-22-2011 08:54 AM

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

Lynne 02-22-2011 04:23 PM

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?

Daisyboo 02-22-2011 04:59 PM

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']">

And the closing div in the nav bar then added the code you gave to the additional.css

I want to achieve this edging http://www.themesbase.com/preview/?preview=6959

Lynne 02-22-2011 10:13 PM

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).

Daisyboo 02-23-2011 07:55 AM

Blimey I can't believe I'm not getting this!

All I can see in those templates is
PHP Code:

<div class="above_body"

and
PHP Code:

<div class="below_body"

(header and footer templates)

Lynne 02-23-2011 05:05 PM

OK, so....
HTML Code:

<div class="border"> 
<div class="above_body">

and
HTML Code:

<vb:if condition="$vboptions['enablefacebookconnect']">
    {vb:raw facebook_footer}
</vb:if>
</div>
</div><!-- to close border -->

and then:
HTML Code:

.border{background: pink; padding: 0 10px;}

Daisyboo 02-23-2011 06:13 PM

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

Lynne 02-23-2011 08:24 PM

Yes. Change the padding to include the top - padding: 10px 10px 0;

Daisyboo 02-23-2011 09:10 PM

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!)

Lynne 02-23-2011 10:03 PM

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:48 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
  • Page Generation 0.01164 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete