Quantcast Change sticky color in vBulletin themes - digitalFAQ.com Support Forum
Go Back   digitalFAQ.com Support Forum > Digital Publishing / Web Design > Web/Print Publishing Technology

Reply
LinkBack Thread Tools
  #1  
01-27-2010, 11:22 PM
admin's Avatar
admin admin is offline
Site Staff / Media Project and Technical Adviser
 
Join Date: Oct 2003
Posts: 3,983
Thanks: 112
Thanked 417 Times in 363 Posts
This is confirmed to work on vBulletin versions 3.6 to 3.8.2

adapted from "Different Cell Color for Stickies" by Andrew111888 @ vB.org
The information there had some typos, so this fixed it


First, you need to change the threadbit template:
  • In AdminCP
    • Styles & Templates
      • Style Manager
        • your theme
          • Edit Templates
            • threadbit

Find the following line:

PHP Code:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"
and replace it with the following:

PHP Code:
<!-- // <td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"> // -->
<if condition="$thread['sticky'] == 1">
    <
td class="stickybg" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
    <
td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
</if> 
And now you need to add some CSS
  • In AdminCP
    • Styles & Templates
      • Style Manager
        • your theme
          • Main CSS
            • Additional CSS Definitions (bottom of page)
Add the following code to the bottom of the "additional CSS" window:

Quote:
.stickybg { background-color: #COLOR; color: #000000; }
and replace COLOR with the HEX code for the color you want.

Use an online color picker, if you need help selecting a color: http://www.colorpicker.com

And now your STICKIES have a different color from other posts, helps them pop out more, not get lost amongst the other forum posts.

To "uninstall" this mod, simply remove the above code. Note that the original code was retained inside of mark-out code:

PHP Code:
<!-- //  // --> 
__________________
If this site has been as helpful as a book or magazine, then Donate a few Dollars or Upgrade your Membership.
Don't forget to Like Us on Facebook or Follow Us on Twitter for special news and deals. Thanks!
Reply With Quote


  #2  
01-27-2010, 11:30 PM
admin's Avatar
admin admin is offline
Site Staff / Media Project and Technical Adviser
 
Join Date: Oct 2003
Posts: 3,983
Thanks: 112
Thanked 417 Times in 363 Posts
Example of mod in use:

You must be logged in to view this content; either login or register for the forum. The attached screen shots, before/after images, photos and graphics are created/posted for the benefit of site members. And you are invited to join our digital media community.


Simple gray was used here, but it could have just as easily been pink or blue or something else.


__________________
If this site has been as helpful as a book or magazine, then Donate a few Dollars or Upgrade your Membership.
Don't forget to Like Us on Facebook or Follow Us on Twitter for special news and deals. Thanks!
Reply With Quote
  #3  
07-13-2010, 02:22 PM
admin's Avatar
admin admin is offline
Site Staff / Media Project and Technical Adviser
 
Join Date: Oct 2003
Posts: 3,983
Thanks: 112
Thanked 417 Times in 363 Posts
To match the new styling of the site, it's been changed to a pale yellow color as of today.
__________________
If this site has been as helpful as a book or magazine, then Donate a few Dollars or Upgrade your Membership.
Don't forget to Like Us on Facebook or Follow Us on Twitter for special news and deals. Thanks!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
WordPress themes library (by style), free and premium designs admin Web/Print Design & Planning 3 01-23-2011 07:25 PM
Quality vBulletin themes for only $4 admin Web/Print Design & Planning 0 05-11-2009 07:56 PM
About the 2009 analog change (DTV, HDTV) Tranzor Home Entertainment and Videography 5 06-25-2008 12:28 PM
Anybody here know how to change your IP address? wayshway Computers 15 06-26-2006 11:13 PM
Color Question wheezer210 Restore, Filter, Improve Quality 2 04-18-2006 03:19 PM

Thread Tools



 
All times are GMT -5. The time now is 06:16 PM  —  vBulletin Copyright © 2011 Jelsoft Enterprises Ltd  —  SEO by vBSEO