vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Colours of Links (https://vborg.vbsupport.ru/showthread.php?t=244905)

ArchAngelz 06-19-2010 04:57 PM

Colours of Links
 
Hi there,

I'm trying to change the colour of links appearing within forum posts and articles to be changed to blue and underlined.

However, when I change StyleVar link_color or link_textDecoration, it affects every single thing that is a link, including forum listings, thread listings, user names etc.

Is there a StyleVar to change such that it only affects links appearing within forum posts and articles?

In this thread, someone has helped with forum posts, but there's no solutions for articles yet. If someone could help that would be great;

http://www.vbulletin.com/forum/showt...64#post1984364

Charlie98902 06-19-2010 05:48 PM

Well I can help you thanks to Lynne on the color but I can't on making them auto underline. Put this is you additional.css template:

Code:

/* change link color in article and preview */
.vbcms_content .postcontainer a {color:blue;}
/* change link color in posts */
.postcontent a {color:blue;}

I have this at the end of the template but I don't think it matters?

ArchAngelz 06-20-2010 01:59 AM

Thanks, your code helped me figure out the equivalent statement for the cms, namely .vbcms_content .postcontaner. Combined with the earlier answer, I fixed the issue.

If you want your links underlined, add the following into your additional css statements: text-decoration: underline

Charlie98902 06-20-2010 02:19 AM

Add that under .postcontent a {color:blue;}

Right?

ArchAngelz 06-20-2010 06:20 AM

For your case, you can try:

/* change link color in article and preview */
.vbcms_content .postcontainer a {color:blue;text-decoration: underline;}
/* change link color in posts */
.postcontent a {color:blue;text-decoration: underline;}

By the way, can I ask how you become a "Designer" in vbulletin.org?

Charlie98902 06-20-2010 02:21 PM

No I was asking since it seemed you knew the answer and this would be a great addition to the current. Thanks for the info as well. FYI I didn't know you were a designer :)

ArchAngelz 06-20-2010 02:39 PM

Yup we worked together to come up with the answer; you had the vbcms parameter and I had the underlined fix; so together we helped each other get what we want.

As for the designer bit, I was hoping to get started on something since I saw the progress ranks graphic wasn't supported anymore so I thought I can try it out since I was already helping and answering requests on the original thread.

Not quite sure how to start though; since you are already a Designer, could you share how you did it?

Quote:

Originally Posted by Charlie98902 (Post 2056388)
No I was asking since it seemed you knew the answer and this would be a great addition to the current. Thanks for the info as well. FYI I didn't know you were a designer :)


Charlie98902 06-20-2010 02:52 PM

Thanks again as that did the trick. Did I say "Not quite sure how to start though; since you are already a Designer, could you share how you did it?"? I didn't see it here and don't really recall saying such :)

ArchAngelz 06-20-2010 03:35 PM

What I meant was I have noted that you have the tag "Designer" under your user id, and I presume that is because you have shared certain graphic mods or the like.

https://vborg.vbsupport.ru/external/2010/06/42.jpg

I'm not quite sure how the designer/coder/contributor system works here and was asking you for some help as I see that you are already a Designer as evident from your user title; hence I presume that you must know how the system works.

If I am wrong and you have no idea how you got a user title of Designer, then let me know.

Quote:

Originally Posted by Charlie98902 (Post 2056422)
Thanks again as that did the trick. Did I say "Not quite sure how to start though; since you are already a Designer, could you share how you did it?"? I didn't see it here and don't really recall saying such :)


Charlie98902 06-20-2010 04:39 PM

Oh sorry I threw in a mod for 3.x and 4.x but not sure how I got it to be honest. Paul M or Lynne may be able to answer that though. Maybe post count?


All times are GMT. The time now is 10:05 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
  • Page Generation 0.01160 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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