Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2012, 12:07 AM
b3zra1y b3zra1y is offline
 
Join Date: Jun 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default need help w/ header layout

Hi All -
We have moved an existing live megaBBS site (sailfishforums.com) over to a staging site running vBulletin 4. I've attached a screen shot of the staging site.

The header layout needs work.
I'm fine with the default VB4 theme, but am thinking that it would be best to pull the login fields at the very top to -- if possible -- take the place of the 'FORUM' and 'WHAT's NEW' links.

I know there are ways of getting rid of those tabs.
But I'm not sure how best to go about removing them while also dropping the login fields in their place.

I hope this makes sense.
THNX
Attached Images
File Type: jpg Screen Shot 2012-05-08 at 9.02.08 PM.jpg (86.9 KB, 0 views)
Reply With Quote
  #2  
Old 05-09-2012, 03:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The login stuff is in the header template. The navtabs are in the navbar template. So, you would want to remove the navtabs from one template and then mover the login code to the bottom of the header template (and rewrite the CSS for it to put it in the correct place/style/etc).
Reply With Quote
  #3  
Old 05-09-2012, 10:18 PM
b3zra1y b3zra1y is offline
 
Join Date: Jun 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it.
Will try that.
I tried moving the login 'code' from the header template over to navbar - but that didn't work.
My CSS is rusty to be sure... but I'll give it a try.

Not sure if I'm the only one.... but I find the VB template system a confusing maze.
Reply With Quote
  #4  
Old 05-10-2012, 06:21 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by b3zra1y View Post
Got it.
Will try that.
I tried moving the login 'code' from the header template over to navbar - but that didn't work.
My CSS is rusty to be sure... but I'll give it a try.

Not sure if I'm the only one.... but I find the VB template system a confusing maze.
Try this thread - https://vborg.vbsupport.ru/showthread.php?t=254794 it should help you move login to navbar .
Reply With Quote
  #5  
Old 05-11-2012, 12:52 PM
b3zra1y b3zra1y is offline
 
Join Date: Jun 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Superman - that's super... uh... man !
That did the trick - and, to be sure, I would never have figured that out.
Just curious - is there any material out there that I could have looked at to come up to speed on my own ?

Also - I've attached what it looks like now (based on the great thread you pointed me to).
So now... I just need to push the toplinks over to the left a bit (assuming that's the best approach).
Is that a css change ? If so, can you point the way ?


THANKS !!!!
Attached Images
File Type: jpg Screen Shot 2012-05-11 at 9.30.06 AM.jpg (53.4 KB, 0 views)
Reply With Quote
  #6  
Old 05-11-2012, 02:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that would be a CSS change. The best thing you can do is use firefox and get the firebug addon which allows you to see the CSS and try out different things. Then, once you figure out the CSS, add it to your additional.css template.
Reply With Quote
  #7  
Old 05-12-2012, 02:06 PM
b3zra1y b3zra1y is offline
 
Join Date: Jun 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. So, I used FireBug to identify (and change in 'Live Edit' mode)... the position attribute of the .toplinks CSS element (to absolute). That allowed me to move the toplinks over to the left.

Here's the CSS markup that FireBug led me to:
.toplinks {
background: none repeat scroll 0 0 transparent;
color: #FFFFFF;
font: 11px Arial,Tahoma,Calibri,Verdana,Geneva,sans-serif;
position: absolute;
right: 180px;
text-align: right;
top: 0;
}

(note that the 'position: absolute' and 'right: 180px' values are ones I changed)
But.... when I try to find this markup (or even a piece of it) that in any of the css templates (in admincp)... I'm coming up empty.
I'm using search templates.

Should I be able to find that markup verbatim in the css files in admincp ?

THANKS
Reply With Quote
  #8  
Old 05-12-2012, 02:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add your changes directly to the additional.css template. So, if you only changed the position and right properties, add this:

HTML Code:
.toplinks {
position: absolute;
right: 180px;
}
Reply With Quote
  #9  
Old 05-12-2012, 02:58 PM
b3zra1y b3zra1y is offline
 
Join Date: Jun 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome.
That does it.

THANKS Superman and Lynne !!!!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:54 AM.


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.03122 seconds
  • Memory Usage 2,264KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete