The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change link color only in "last post"
Hello. I want to change the link color in the "last post" part of the forum blocks. I know that the stylevar "block_link_color" controls this, but it is overridden by the "link_color" stylevar. Is there any way to make the block link color permanent? Any help would be appreciated.
|
#2
|
||||
|
||||
pretty sure it would be something along the lines of
Code:
.forumbit_post .forumrow .forumlastpost a {color:#666666!important;} .forumbit_post .forumrow .forumlastpost a:hover {color:#666666!important;} .forumbit_post .forumrow .forumlastpost a:active {color:#666666!important;} |
#3
|
|||
|
|||
It worked, but link_color also affects the VSa Stats box and subforum links. I'm assuming the code to make those link colors permanent is similar, but in a different CSS template?
Thanks for you help and the very quick response! |
#4
|
||||
|
||||
I just gave you the code for Last Post by only. What are you looking to do exactly?
|
#5
|
|||
|
|||
I did want to make those links permanent, but I didn't think about the subforum and VSa Top Stats box links. That was my error, and I apologize for that. I can ask for that in a separate thread if it's proper etiquette.
|
#6
|
|||
|
|||
Try this css overwrite: Its better than windows7site give you.
HTML Code:
.forumbit_post .forumrow .forumlastpost .threadtitle {color:#000 !important;} You can go to its template and put style="color:#000;" in the a href code. so that VSa wont get affected, style manager> style name> edit templates> forumhome templates> forumhome_lastpostby find: HTML Code:
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}" class="threadtitle" title="{vb:rawphrase go_first_unread_in_thread_x, {vb:raw lastpostinfo.lastthread}}">{vb:raw lastpostinfo.trimthread}</a> HTML Code:
<a style="color:#000;" href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}" class="threadtitle" title="{vb:rawphrase go_first_unread_in_thread_x, {vb:raw lastpostinfo.lastthread}}">{vb:raw lastpostinfo.trimthread}</a> |
#7
|
|||
|
|||
Thanks, but TWS7's solution worked better for me as far as keeping the "last post" permanent, and I also was able to use it for threadbit. I'm still working on the VSa Stats Box - once I get that, I can stop getting headaches.
|
#8
|
||||
|
||||
Link me to your forum and I will resolve your issue and give you code that will work
|
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
Try this for top stats link color
Code:
#vsa_fh_stats a {color:#666666 !important;} #vsa_fh_stats a:hover {color:#666666 !important;} #vsa_fh_stats a:active {color:#666666 !important;} --------------- Added [DATE]1308600009[/DATE] at [TIME]1308600009[/TIME] --------------- This should work for subforum link colors Code:
.subforum a {color:#ff0000 !important;} .subforum a:hover {color:#ff0000 !important;} .subforum a:active {color:#ff0000 !important;} If you wonder why usernames are the color of the links colors its because you havent defined a color for all your usergroups, which I would recommend in admincp just like you did with Super Moderators - Administrators - Moderators |
Благодарность от: | ||
bigpoppa74 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|