vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Anchoring the header (https://vborg.vbsupport.ru/showthread.php?t=323200)

scottkoz20 08-08-2016 01:16 AM

Anchoring the header
 
Is there any known modification that can anchor the heading?

scottkoz20 08-12-2016 01:23 PM

to be more clear, I want to have the header and navbar static and allow the rest of the page to be navigatable (if this is even a word)


Here is my domain --> http://www.sportscardforum.com/forum.php (looking for the top orange to be frozen)

Dave 08-12-2016 01:29 PM

You mean you want the header to have a fixed position while the rest should be scrollable?

Seven Skins 08-12-2016 05:26 PM

These two lines of css fixes the header in default skin, adjust accordingly...

HTML Code:

.above_body  { position: fixed; top:0; left:0; right:0; margin: 0px 35px; z-index: 10000; }
.body_wrapper { margin-top: 120px; }


TheLastSuperman 08-12-2016 06:20 PM

imho only do this if your logo/header area is very small.

MarkFL 08-12-2016 06:25 PM

Quote:

Originally Posted by TheLastSuperman (Post 2574652)
imho only do this if your logo/header area is very small.

I agree completely...no one (or very few) would want a huge header permanently obscuring much of the page. I would stick to something 50px tall or smaller personally. :)

scottkoz20 08-12-2016 11:59 PM

I will play with this in my development area first before loading it.

I do appreciate the suggestions, especially keeping image small

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

Quote:

Originally Posted by Seven Skins (Post 2574647)
These two lines of css fixes the header in default skin, adjust accordingly...

HTML Code:

.above_body  { position: fixed; top:0; left:0; right:0; margin: 0px 35px; z-index: 10000; }
.body_wrapper { margin-top: 120px; }


I appreciate this, however, I'm not sure which CSS file that should be modified.

Seven Skins 08-13-2016 09:26 AM

Add them to additional.css template.

scottkoz20 08-14-2016 01:27 AM

Quote:

Originally Posted by Seven Skins (Post 2574677)
Add them to additional.css template.

did this, no luck - I probably will need to make adjustments to the style variables however, this is something I will do next week.

scottkoz20 06-10-2017 12:10 AM

dusting this off as I'm working on a new style - was able to get this to work on the new style :)


Thanks everyone


All times are GMT. The time now is 03:43 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.01016 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete