Question 2 - Link colors within posts only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Una Persson
    Member
    • May 2001
    • 44

    Question 2 - Link colors within posts only

    OK, question 2 of the night - my members are having a hard time seeing the links contained within posts. Is there a simple way to make ONLY the links within the posts themselves appear with the "0000FF" color? Every style option dealing with links that I seem to change makes all the of the Forum and thread links that same color, and I want those to stay the default color. I even tried using replacement variables, but to no avail. Any help would be greatly appreciated.
  • Kier
    Former Lead Developer, vBulletin
    • Sep 2000
    • 8179

    #2
    Yes.

    In your postbit template, find this:
    Code:
    <p>$post[message]</p>
    and replace it with this:
    Code:
    <p class="post">$post[message]</p>
    Now in your headinclude template, add this:
    Code:
    .post a:link, .post a:active, .post a:visited, .post a:hover {
        color: #113274;
    }
    You can now replace the #113274 with a color of your choice

    All done

    Comment

    • Una Persson
      Member
      • May 2001
      • 44

      #3
      Thank you very much, Kier, for your fast and effective help here in this and my other thread tonight. It is greatly appreciated by myself, and the members of my Board.

      Comment

      • Kier
        Former Lead Developer, vBulletin
        • Sep 2000
        • 8179

        #4
        My pleasure

        Comment

        • fn9mm
          New Member
          • Oct 2005
          • 21
          • 3.5.x

          #5
          any way of doing this in 3.5.3/3.5.4?
          i can't find the
          Code:
          <p>$post[message]</p>
          in my postbit

          only this
          Code:
          <div id="post_message_$post[postid]">$post[message]</div>

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...