vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Applying Color to FAQ Items (https://vborg.vbsupport.ru/showthread.php?t=301726)

Amaury 08-30-2013 10:04 PM

Applying Color to FAQ Items
 
I'm creating a list of our staff team using FAQ items, and I can't figure out how to apply the colors to indicate the user groups.

I tried this, and it didn't work:
HTML Code:

<font color=color></font>
As an example using our site owner, here's working code that I have currently for everything else: http://www.kh-flare.net/faq.php?faq=b#faq_c

HTML Code:

<p><font size=5><b><a href="http://www.kh-flare.net/member.php/1">Sean</a></b></font></p>

<ul>
<li><b>Real Name:</b> Sean</li>
<li><b>Age: 24</b></li>
<li><b>Location:</b> Washington, US</li>
</ul>

<p>I am the owner of KH-Flare. I founded the site in 2011; I have been thinking of many thing to add to the site to make it better, but haven't been very successful.</p>

<p>I am a huge Kingdom Hearts fan and a semi-hacker on hacking codes for Kingdom Hearts. I like helping people in the best way that I can; I am always open for need ideas to improve the site.</p>

<p>Thank you for checking out and reading my bio.</p>


tbworld 08-30-2013 10:32 PM

1.) How are you coloring your usergroups, via a MOD? A template variable or just CSS.
2.) I need to see how you are adding the usergroup information (HTML) before I can give you a method of applying your CSS.
3.) If you are using the same color for all usergroups (which I believe your answer is going to be no.
4.) Did he add the additional HTML to a template if so what template. Post or attach the template code with your added html for the usergroups.

Then I can help. (Easy fix, but we need specific data).

Amaury 08-30-2013 11:27 PM

Got it solved thanks to our admin coder.

HTML Code:

<p><a style="font-weight: bold; font-size: 23px; color: #CD5C5C;" href="http://www.kh-flare.net/member.php/1">Sean</a></b></p>

RickyH 08-31-2013 08:26 AM

Just a quick on ->

If you want to set colours of Usernames in Usergroups, you need to add <span style="color: red; font-weight: bold;"> if the first field of "Username HTML Markup", then finish the span tag in the second field with </span>. This will recolour the Username to the color you put in the style. You can use Hexidecimal colour codes too, just like with CSS.

Amaury 08-31-2013 03:47 PM

Quote:

Originally Posted by RickyH (Post 2442128)
Just a quick on ->

If you want to set colours of Usernames in Usergroups, you need to add <span style="color: red; font-weight: bold;"> if the first field of "Username HTML Markup", then finish the span tag in the second field with </span>. This will recolour the Username to the color you put in the style. You can use Hexidecimal colour codes too, just like with CSS.

This thread isn't about user groups, and I already know that.

RickyH 09-02-2013 10:12 AM

Quote:

Originally Posted by Amaury (Post 2442171)
This thread isn't about user groups, and I already know that.

But you've been previously asked how you were styling your USERGROUPS? okay.


All times are GMT. The time now is 09:12 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.00949 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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