vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Stylevar Help (https://vborg.vbsupport.ru/showthread.php?t=327859)

RGL Griff XV 02-27-2020 06:53 PM

Stylevar Help
 
<a href="https://gyazo.com/258e1199c05056e7eeef4ffa219f69a2" target="_blank">https://gyazo.com/258e1199c05056e7eeef4ffa219f69a2</a>
Which Stylevar is the Thread/post title? I need to change the highlight color (selected)

Edit, The text is white after I type something in and the background is black.
Whenever I begin to type something, it then becomes a white bar and I cannot see what I am typing.

shka 02-28-2020 12:05 PM

I don't know if I understood your problem correct. You mean:

click in input-box (in your pic the title field of advanced editor, but also every other input field like login data with your demo account, edit and send a pm ) results to white background and white text?

Your aim: other text color?

There is no stylevar for. In template "vbulletin-formcontrols.css" there is only a definition for background
Code:

.formcontrols .blockrow input.textbox:focus,
.formcontrols .blockrow textarea:focus {
        background: {vb:stylevar input_focus_background};
}

Two solutions:
A. Edit "vbulletin-formcontrols.css" to
Code:

.formcontrols .blockrow input.textbox:focus,
.formcontrols .blockrow textarea:focus {
        background: {vb:stylevar input_focus_background};
      color: #888888;
}

B. Go to template "additional.css" and add
Code:

.formcontrols .blockrow input.textbox:focus,
.formcontrols .blockrow textarea:focus {
      color: #888888;
}

Change #888888 to a color of your choice.

RGL Griff XV 02-28-2020 02:00 PM

This worked perfectly, thank you


All times are GMT. The time now is 10:18 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.01005 seconds
  • Memory Usage 1,710KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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