vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Change link color only in post and/or cms articles (https://vborg.vbsupport.ru/showthread.php?t=259966)

djbaxter 05-28-2012 12:21 AM

What's the difference between links and hyperlinks as you are sing those terms?

AshenTemper 06-13-2012 05:12 PM

So, I attempted this. I edited the additional.css for the Style I'm using as such:

Code:

.postcontent a {
        color: #FF00FF;
        text-decoration: none;
        font-weight: bold;
}

.postcontent a:link {
        color: #FF00FF;
        text-decoration: none;
        font-weight: bold;
}

.postcontent a:visited {
        color: #FF00FF;
        text-decoration: none;
        font-weight: bold;
}

.postcontent a:active {
        color: #FF00FF;
        text-decoration: none;
        font-weight: bold;
}

.postcontent a:hover {
        color: #c1272d;
        text-decoration: underline;
        font-weight: bold;
}

But it just doesn't seem to be taking. Instead, it is just using the global body link colors instead. Here is the site I'm working on:

http://stoicstudio.com/forum/showthr...ull=1#post2756

You'll note the first word (Acromage) is a link but it's not pink (just using pink so its an obvious change and then making it something better).

Any ideas what I'm doing wrong?

AshenTemper 06-13-2012 06:11 PM

I fixed my own issue. For some reason, moving that to the top of the additional.css file made it work. Probably means I failed at closing something somewhere that I'll have to look into.

But another thumbs up from me - works great on 4.1.12!

zascok 07-20-2012 12:40 PM

yep this is fun as far as you don't have an image inserted into thread. Underlined images don't look pretty at all

BigAl205 03-18-2013 07:57 AM

I wanted links in the postbit underlined so it would stand out, so I changed the link decoration in the stylevar. Unfortunately, I thought it made the forum home look too busy. I'm glad I found this.


All times are GMT. The time now is 02:53 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.00968 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete