Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2011, 02:10 AM
bigpoppa74 bigpoppa74 is offline
 
Join Date: Jun 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 06-19-2011, 02:14 AM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;}
add to additional.css
Reply With Quote
  #3  
Old 06-19-2011, 02:32 AM
bigpoppa74 bigpoppa74 is offline
 
Join Date: Jun 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #4  
Old 06-19-2011, 02:36 AM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just gave you the code for Last Post by only. What are you looking to do exactly?
Reply With Quote
  #5  
Old 06-19-2011, 03:07 AM
bigpoppa74 bigpoppa74 is offline
 
Join Date: Jun 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-19-2011, 12:40 PM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this css overwrite: Its better than windows7site give you.

HTML Code:
.forumbit_post .forumrow .forumlastpost .threadtitle {color:#000 !important;}
OR if the VSa still catch the css.

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>
put in style code:
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>
change your color code. that is black.
Reply With Quote
  #7  
Old 06-19-2011, 05:30 PM
bigpoppa74 bigpoppa74 is offline
 
Join Date: Jun 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 06-19-2011, 07:18 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigpoppa74 View Post
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.
Link me to your forum and I will resolve your issue and give you code that will work
Reply With Quote
  #9  
Old 06-20-2011, 05:28 PM
bigpoppa74 bigpoppa74 is offline
 
Join Date: Jun 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWindows7Site View Post
Link me to your forum and I will resolve your issue and give you code that will work
Here you go.
Reply With Quote
  #10  
Old 06-20-2011, 06:56 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;}
add to additional.css

--------------- 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;}
--------------- Added [DATE]1308600235[/DATE] at [TIME]1308600235[/TIME] ---------------

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
Reply With Quote
Благодарность от:
bigpoppa74
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:05 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.03996 seconds
  • Memory Usage 2,267KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (3)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete