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 03-10-2016, 02:22 PM
evank evank is offline
 
Join Date: Mar 2016
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Make navbar move to right side of page

I'm new to vbulletin, please bear with me....

My forum is here: http://www.vcfed.org/forum/forum.php.

What I want to do is move the nav bar (articles, blogs, forum, what's new) over to the right so it's abutting the search bar.

How?

I assume something needs to be changed in style manager -- edit templates -- navigation + breadcrumbs -- navbar, but I don't know what.
Reply With Quote
  #2  
Old 03-10-2016, 03:29 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding the following selectors to your "additional.css" template:

Code:
#navtabs {
	margin-right: 180px;
}

#navtabs > li {
	float: right;
}
--------------- Added [DATE]1457634467[/DATE] at [TIME]1457634467[/TIME] ---------------

Follow:

AdminCP -> Styles & Templates -> Style Manager

Then for each style to which you wish to apply the change, select "Edit Templates" from its dropdown menu, and you will find the "additional.css" template in the template group "CSS Templates". Once you have the template open, then copy/paste the selectors I provided at the end of the code already there.

--------------- Added [DATE]1457634541[/DATE] at [TIME]1457634541[/TIME] ---------------

I posted instructions, but for some reason they were appended to my previous post.

edit: Now I see why...your post was deleted.
Reply With Quote
Благодарность от:
setishock
  #3  
Old 03-10-2016, 04:32 PM
evank evank is offline
 
Join Date: Mar 2016
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry -- I posted to ask where to find additional.css, but then Google showed me the answer so I deleted the question.

Thanks very much for the code suggestion + explaining how to use it. It works.
Reply With Quote
2 благодарности(ей) от:
MarkFL, setishock
  #4  
Old 03-10-2016, 04:37 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evank View Post
Sorry -- I posted to ask where to find additional.css, but then Google showed me the answer so I deleted the question.

Thanks very much for the code suggestion + explaining how to use it. It works.
No worries...now if for some reason you change the width of the search element, then you will need to adjust the right margin of the navtabs element accordingly.
Reply With Quote
  #5  
Old 03-10-2016, 06:05 PM
evank evank is offline
 
Join Date: Mar 2016
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll keep that in mind.

What if I want to try combining the nav bar and the login bar (is there a formal name for the login bar?) .... seems like a big waste of space in the header to have them on separate lines.
Reply With Quote
  #6  
Old 03-10-2016, 06:50 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evank View Post
I'll keep that in mind.

What if I want to try combining the nav bar and the login bar (is there a formal name for the login bar?) .... seems like a big waste of space in the header to have them on separate lines.
You would probably have to edit 1 or more templates to do that.
Reply With Quote
  #7  
Old 03-11-2016, 05:07 PM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They're called toplinks to give you a starting place. Look in vbulletin-chrome.css. Search for Lynne here. She did a lot of posting on how to move things around.

I do like how it looks.
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 11:46 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.04002 seconds
  • Memory Usage 2,230KB
  • Queries Executed 13 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (3)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete