![]() |
Bold Profile Field Titles
1 Attachment(s)
And the award for world's most minor template modification ever goes to... But seriously, after a quick check on vBulletin.com and various other sites, I have come to the conclusion the standard profile field titles in the about me tab are just not 'stand out' enough from the actual text, so I've made a very minor modification which boldens the titles to differentiate between the profile field name and user content in a much easier way.
So first up, the original code to modify is this: Code:
<dt class="shade" id="[whatever]">Location</dt> Member Info Templates > memberinfo_profilefield And then find this code: Code:
<dt class="shade" id="profilefield_title_$profilefield[profilefieldid]">$profilefield[title]</dt> Quote:
Edit: Because of a problem where it applies only to a certain user profile for some reason (might actually be who you're logged in as or the like), here's a piece of code as released by vbplusme: Find this piece of code in Style Manager -> All Style Options Code:
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; } Code:
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; font-weight: bold; } |
Hi thanks for the tip however to be different I used this.
<dt class="shade" id="profilefield_title_$profilefield[profilefieldid]"><b><span style="color: Blue;">$profilefield[title]</b></span></dt> To show different color than just bold and this helps make it stand out as well. You can choose what ever color you wish as well. :D |
Better yet, modify the .shade property in Main CSS then you don't need to change any template code.
Original: HTML Code:
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; } HTML Code:
.shade, a.shade:link, a.shade:visited { color: #0000FF; font-weight: bold; text-decoration: none; } |
Quote:
|
HUH? That is a CSS class reference it can not NOT work if its called OR is being replaced by something else that is hard coded to usurp it, like adding another <style> tag after it. Works fine on my site but I haven't made any mods to that code.
|
Not the css one you made but the html one I used. I have to go to bed as I must get up at 3 am tomorrow but I will post back on what I did and what happened as well. I couldn't find the css to use yours. Well the line of css not the main css to change.
|
Oh, that's why. That class is definitely in Main CSS, on mine, its in the "Additional CSS Definitions" at the bottom of the page, top box. HTH
|
Quote:
|
I'll be updating it with the CSS version if you don't mind, the only reason there was a problem with the existing version is because originally, it wasn't meant to be released as a mod and I basically coded it to fix a certain profile.
|
Thanks vbplusme, updated.
|
All times are GMT. The time now is 05:29 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|