vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Moving welcome bar down! (https://vborg.vbsupport.ru/showthread.php?t=261715)

Peter Cook 04-09-2011 06:05 PM

Moving welcome bar down!
 
I know this is probably simple but, how can I move the line including the Welcome, notifications, profile text line down to the bottom of the header, just above the navbar? I know this is probably a silly question, but I would just like to know how as I cannot find anything about moving this line down!

Lynne 04-09-2011 07:33 PM

It positioned "absolute", so just change top and right (adjust as needed):

HTML Code:

.toplinks {
    right: 20px
    top: 20px;}


Peter Cook 04-09-2011 07:54 PM

Which template would I be editing Lynne, as I can only find .toplinks in the replacement-vbulletin.ie.css templates. None of them show the Right: 20px setting. see below:

.toplinks .popupbody li {
border-top:none;
}
.toplinks {
float:{vb:stylevar right};
}
.toplinks ul.isuser .notifications .popupbody li a{
height:{vb:stylevar navbar_tab_size.height}px;
}
.toplinks ul.isuser .notifications .popupbody {
width:100%;
_width:auto;
}
.toplinks ul.isuser .notifications .popupbody li a span {
line-height: {vb:math {vb:stylevar navbar_tab_size.height}/2}px;

Could it be this one?

.toplinks {
position:absolute;
{vb:stylevar right}:{vb:math {vb:stylevar padding}*2};
top:0;
color:{vb:stylevar toplinks_link_color};
font: {vb:stylevar header_font};
text-align:{vb:stylevar right};

Lynne 04-09-2011 07:55 PM

My code was just a suggested change of code to put in the additional.css template.

Peter Cook 04-09-2011 08:18 PM

Unfortunately it didn't work, anymore suggestions would be welcome

Lynne 04-09-2011 08:32 PM

How about a link to see the results. Also, did you change the values to suite your site? I just threw numbers in there as an example - you will need to adjust them as needed for your own site.

Peter Cook 04-10-2011 06:44 PM

Yep I adjusted all the figures! I am just looking at alternative positions at the moment and I am in no hurry to sort this one out per s? Thanks for your input thus far Lynne :)

TheLastSuperman 04-10-2011 07:23 PM

Quote:

Originally Posted by Peter Cook (Post 2183093)
Yep I adjusted all the figures! I am just looking at alternative positions at the moment and I am in no hurry to sort this one out per s? Thanks for your input thus far Lynne :)

Do us a favor and hit Print Screen or post your code next time, the reason why is it simply makes no sense why the toplinks i.e. Welcome, Username would not move down if you adjusted properly so it makes us wonder when some say it "did not work" why not when we know it should have unless something else is going on and if so better to figure it out now imo ;).


All times are GMT. The time now is 04:30 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.01056 seconds
  • Memory Usage 1,726KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete