Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2011, 08:38 PM
altoolsupply altoolsupply is offline
 
Join Date: Aug 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to Change "contact us" field color

When you click on the "contact us", the input fields of "your name" and "email address" have a background color of light yellow. The problem is that the corresponding input font color is white, making it invisible to see your entered text. I've searched the stylevars but can't find where to change the corresponding field color. Am I looking in the correct location to make the change?
Thanks...
Reply With Quote
  #2  
Old 05-12-2011, 07:53 AM
LeventX's Avatar
LeventX LeventX is offline
 
Join Date: Nov 2010
Location: Turkey
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admincp

Styles & Templates > Style Panel , Theme Select stylevars

Search Stylevar pls..

footer_background
Reply With Quote
  #3  
Old 05-12-2011, 12:24 PM
altoolsupply altoolsupply is offline
 
Join Date: Aug 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, that's not it. The footer background is where the link "contact us" is. In mine, it's a green color. I'm looking for the email input form after the "contact us" link is clicked on. There will be two input fields in a "Your Details", (1) "Your Name" & (2) "Email Address". These input fields are a light yellow. Thank you for your reply...
Reply With Quote
  #4  
Old 05-12-2011, 12:52 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if it's just this specific page which should be adjusted, you could head for the contactus template (or some similar name) and change the color via style tag, for example
HTML Code:
<input style="background-color: #333 !important" ...
Reply With Quote
  #5  
Old 05-12-2011, 02:32 PM
altoolsupply altoolsupply is offline
 
Join Date: Aug 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found the contactus template. Here's the code:

</vb:if>

<form class="vbform block" action="sendmessage.php?do=contactus" method="post">
<h2 class="blockhead">{vb:rawphrase send_email_to_forum_administrator}</h2>
<div class="blockbody formcontrols">
<h3 class="blocksubhead">{vb:rawphrase your_details}</h3>
<div class="section">
<div class="blockrow">
<label for="name">{vb:rawphrase your_name}:</label>
<input type="text" class="primary textbox" id="name" name="name" value="{vb:raw name}" tabindex="1" />
</div>

<div class="blockrow">
<label for="email">{vb:rawphrase email_address}:</label>
<input type="text" class="primary textbox" id="email" name="email" value="{vb:raw email}" tabindex="1" />
</div>
</div>


I don't see where you can change the color in the code. Am I in the right spot? Thanks...
Reply With Quote
  #6  
Old 05-12-2011, 03:04 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you could change it like this:
HTML Code:
</vb:if>

<form class="vbform block" action="sendmessage.php?do=contactus" method="post">
<h2 class="blockhead">{vb:rawphrase send_email_to_forum_administrator}</h2>
<div class="blockbody formcontrols">
<h3 class="blocksubhead">{vb:rawphrase your_details}</h3>
<div class="section">
<div class="blockrow">
<label for="name">{vb:rawphrase your_name}:</label>
<input type="text" class="primary textbox" id="name" name="name" value="{vb:raw name}" tabindex="1" style="background-color: #333 !important" />
</div>

<div class="blockrow">
<label for="email">{vb:rawphrase email_address}:</label>
<input type="text" class="primary textbox" id="email" name="email" value="{vb:raw email}" tabindex="1" style="background-color: #333 !important" />
</div>
</div>
#333 being the hex-representation of your preferred color. #333 is a dark grey, #000 is black, etc.
Reply With Quote
  #7  
Old 05-12-2011, 04:47 PM
altoolsupply altoolsupply is offline
 
Join Date: Aug 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boy, do i feel stupid. A feature of Internet Explorer is an autofill. There is a check box that if checked, will highlight the fill-in area in yellow, indicating that the autofill feature can be used. Even though I don't use this feature, the little box was checked giving me a yellow colored input field. What a wild goose chase! Thank you very much for all your help and assistance
Reply With Quote
  #8  
Old 05-12-2011, 04:50 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by altoolsupply View Post
Boy, do i feel stupid. A feature of Internet Explorer is an autofill. There is a check box...
ugh, there are people out there who actually still use this pile of mess?
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 07:15 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.03853 seconds
  • Memory Usage 2,232KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete