vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Make field names stand out (https://vborg.vbsupport.ru/showthread.php?t=210341)

arrowhead 04-05-2009 04:59 AM

Make field names stand out
 
1 Attachment(s)
Hello,

I'm wondering where I can find the control or code to be able to format the user profile field headers.

In other words, when I create a new user profile field, the name of the field appears in the same font as the user's input, which appears directly below it with no extra line break. This is not a nice effect. It's hard to distinguish between the user's input and the name of the field.

I've attached an image so you can see what I mean.

Can someone advise me how to change the formatting for those field headers?

Many thanks!!! :)

Lynne 04-05-2009 03:20 PM

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

But, I think it's easier to just modify the css. I believe it's at the bottom of the Main CSS page - it's called shade or something like that. Check your page source and it will tell you the class.

arrowhead 04-07-2009 08:01 AM

Many thanks for the help Lynne.

For anyone who might want to do this, the easiest way as Lynne said is to change the CSS. You find it toward the bottom of the Main CSS page in "Additional CSS Definitions."

Toward the bottom of the code in that box, you'll find something like this:

Code:

/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #333ccc; text-decoration: none; }

Add text attributes here to format the headers of your user profiles fields.


All times are GMT. The time now is 01:53 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.00960 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
  • (1)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