vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   center and fix the "top links" &... (https://vborg.vbsupport.ru/showthread.php?t=268003)

mrdiger 08-05-2011 11:49 AM

center and fix the "top links" &...
 
1 Attachment(s)
Hello, I've two questions i would love to get some help to fix.

1. the toplink section (log in, help, register) is "floating out","moves" when you change size on the webbrowser. How can i make it fixed to stay above my banner only?


2. I've my forumname abit above where my board is.
Under it, it says "welcome to the 123forum" I can't remember how and where i wrote this. How can i remove it?

I attached a picture so you easier understand what i ment:)

Attachment 131701


Thank you very much!

Lynne 08-05-2011 04:11 PM

1. Try adding in additional.css:
HTML Code:

.toplinks {position: fixed; top: xxpx; left: xxpx;}
Of course, change xxpx to the correct numbers. If that doesn't work, we will need a link to see this.

2. You'll have to remove that from the FORUMHOME template.

setishock 08-05-2011 04:25 PM

#2 Park this in your additional.css
Code:

#pagetitle {display: none;} /* Forum name on left side */
#welcomemessage {display: none;} /* Welcome to the (forum name) */


mrdiger 08-06-2011 09:09 AM

Thank you both very much!
Worked perfectly fine to remove the pagenamn.
Still having problem getting the toplinks right! i PMed you, Lynne, with the site url so if you have time later u can help me find out correct numbers:)

Thanks

setishock 08-06-2011 10:58 PM

Try this:
Code:

.toplinks {
        position:absolute;
        {vb:stylevar right}:{vb:math {vb:stylevar padding}*2};
        right: 400px !important; /* changed by andy added */
        top:350px;
        color:{vb:stylevar toplinks_link_color};
        font: {vb:stylevar header_font};
        text-align:{vb:stylevar right};
}

Put that in your additional.css.


All times are GMT. The time now is 08:01 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.01467 seconds
  • Memory Usage 1,717KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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