vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Moving the Remember Me box (https://vborg.vbsupport.ru/showthread.php?t=231817)

ZippySLC 01-01-2010 12:49 PM

Moving the Remember Me box
 
I've modified the header and have a large random image displaying immediately below the login box at the top of the header. The problem is that the "Remember Me" box is below the login boxes, which makes it hard to see because it's on top of an image.

What I would like is the login, password, and remember me boxes to be on the same level.

I've looked at the template and haven't had much luck changing it. Can anybody lend a hand?

Ideally, I'd like it to look something like this:

http://www.troop48berlin.org/images/...ar_changed.jpg

Lynne 01-01-2010 02:11 PM

Take this line and delete it:
HTML Code:

  <div id="remember" class="remember">
                <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" /> {vb:rawphrase remember_me}</label>
                </div>

Find this:
HTML Code:

<input type="submit" class="loginbutton" value="{vb:rawphrase log_in}" tabindex="104" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" />
Right above it add this:
HTML Code:

<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" /> {vb:rawphrase remember_me}</label>
I think that should do it. Play with it a bit to get it how you want.

ZippySLC 01-01-2010 02:25 PM

Lynne,

Thank you so much! That worked perfectly!

durruti 08-19-2013 01:42 PM

Bumped.

Not working for article.
https://vborg.vbsupport.ru/external/2013/08/25.png

Works fine in Activity Stream, Forum and Blog.
https://vborg.vbsupport.ru/external/2013/08/26.png


What to do?

Lynne 08-19-2013 01:57 PM

Check the CSS on each of those pages and see what is different.

durruti 08-19-2013 02:26 PM

Quote:

Originally Posted by Lynne (Post 2439762)
Check the CSS on each of those pages and see what is different.

I don't know how to do that, or are you asking me to check the templates? Which templates should I check?

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

In Article, I found this using Inspect Element:


label, .label {
font-weight: bold;
padding: 5px 0px;
display: block;
float: left;

clear: right;
}

When Red are unchecked, "Remember me?" appear correctly.

Lynne 08-19-2013 07:06 PM

Then write some CSS specific for the remember me box that doesn't have those two elements (or sets it to default, rather).


All times are GMT. The time now is 05:58 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.01495 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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