vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Changing URL colour only in post (https://vborg.vbsupport.ru/showthread.php?t=215570)

hqlman 06-07-2009 03:59 PM

Changing URL colour only in post
 
Hi,

Ive tried searching the forums for a simple mod that would allow me to change the URL link colour only in thread replies, as its very hard to see on my board, is there anyway to do this easilly and efficiently?

see this img to get an idea of what my forum URLs look like in thread:
https://vborg.vbsupport.ru/external/2009/06/130.jpg
\
Thanks

hqlman 06-08-2009 10:28 PM

seems like this isnt something easy :erm:

Dismounted 06-09-2009 07:03 AM

You will need to edit the postbit template and change the CSS styling for the "message".

hqlman 06-09-2009 07:09 PM

Thanks for the reply, could u be a bit more specific as im not too good with the styling, btw im using the postbit legacy template

RustyDogma 06-30-2009 06:49 PM

I want to do exactly this... could really use some help on how to edit the CSS properly.

Code:

                <!-- message -->
                <div id="post_message_$post[postid]">
                        $ad_location[ad_showthread_firstpost_start]
                        $post[message]
                </div>
                <!-- / message -->

I have the colors I want in the page background and body, so basically, I want to apply that CSS to this <div>?

Dismounted 07-01-2009 04:59 AM

Replace the $post[message] line with this:
HTML Code:

<span class="post_custom">$post[message]</span>
Then add this to "additional CSS", which can be found in the style manager. Look in the dropdown next to the style's name.
Code:

.post_custom a { color: #000000; }
Remember to replace the colour.

RustyDogma 07-01-2009 01:16 PM

Thanks so much, exactly what I needed!

hqlman 07-02-2009 10:44 PM

Quote:

Originally Posted by Dismounted (Post 1840561)
Replace the $post[message] line with this:
HTML Code:

<span class="post_custom">$post[message]</span>
Then add this to "additional CSS", which can be found in the style manager. Look in the dropdown next to the style's name.
Code:

.post_custom a { color: #000000; }
Remember to replace the colour.

THank you soo much for your help :D


All times are GMT. The time now is 11:43 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.01136 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete