Announcement

Collapse
No announcement yet.

how to make url tag product different color for link

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • theybannedme
    replied
    Originally posted by theybannedme View Post
    Alright, another toughie. Now I want the same problem solved for the blogs. Any ideas?
    The solution!

    find blog_post_entry under style templates and add the following to the top:

    Code:
    <STYLE TYPE="text/css">
    div.message a, div.message a:visited { color: #CC999F; text-decoration: underline;}
    div.message a:hover { color: #0099ff; text-decoration: underline;}
    div.message a:active { color: #0099ff; text-decoration: underline;}
    div.message a:link{ color: #0099ff; text-decoration: underline;}
    </STYLE>
    then find in the same template:

    Code:
    <div id="blog_message" style="margin-bottom:10px">
    And replace with:

    Code:
    <div id="blog_message" style="margin-bottom:10px" class="message">

    Leave a comment:


  • David Grove
    replied
    Add a class (say 'blogpost') to whatever element a blog post is inside, probably a div, then style the links like this:
    Code:
    .blogpost a {/* whatever */}

    Leave a comment:


  • theybannedme
    replied
    thanks, lynne.

    Leave a comment:


  • Lynne
    replied
    You might get a better response if you post that over in the Blog forums.

    Leave a comment:


  • theybannedme
    replied
    Bueller? bueller?

    Leave a comment:


  • theybannedme
    replied
    Alright, another toughie. Now I want the same problem solved for the blogs. Any ideas?

    Leave a comment:


  • theybannedme
    replied
    Originally posted by sockwater View Post
    Add this to your Additional CSS Definitions for your style (or to your stylesheet).
    Code:
    div#posts>div>div.page>div>div>table.tborder>tbody>tr>td.alt1>div a {color:#00F ! important;}
    That is very ugly, but necessary. (why can't the <div> that contains the post's message have an [unused] class attached to it?)
    thank you-- I found this even uglier solution as well:

    http://www.vbulletin.org/forum/showthread.php?t=131730

    But you have to also add this line to his instructions:

    Code:
    div.message a:link { color: #0099ff; text-decoration: underline}

    Seems like a major PITA for what seems like it should be a customizable field through the control panel imho.

    Leave a comment:


  • David Grove
    replied
    Add this to your Additional CSS Definitions for your style (or to your stylesheet).
    Code:
    div#posts>div>div.page>div>div>table.tborder>tbody>tr>td.alt1>div a {color:#00F ! important;}
    That is very ugly, but necessary. (why can't the <div> that contains the post's message have an [unused] class attached to it?)

    Leave a comment:


  • theybannedme
    replied
    The vbulletin admin said he "responded to my support ticket" but i don't have an email with the support nor any notifications on vbulletin.com. So i guess i still need help with this (seemingly) simple problem.

    Leave a comment:


  • theybannedme
    replied
    couldn't find anything to fix this. still awaiting a response patiently.

    Leave a comment:


  • Lynne
    replied
    You may want to look through the Color Maps in the manual to see which class in your CSS affects which area of your site: http://www.vbulletin.com/docs/html/color_maps_intro

    Leave a comment:


  • how to make url tag product different color for link

    Hi,

    Whenever my members use the url tag to create a link, it's the same color as the rest of the text. When I edit my style sheet to make links appear blue, ALL the links on the page (include member's names, other forums, etc) all turn blue. Any way to just have this apply to links in posts?

    Thank you.

Related Topics

Collapse

Working...
X