Posts Link Different Colors

Started by 3guk, December 17, 2005, 04:56:34 PM

Previous topic - Next topic

3guk

Hi Guys,

I have my board set up just as I want, the only problem is the links that people post you can not tell the difference from them and the text.

So people arent able to figure out where the links are, would like to have them underlined in maybe blue or something.

How can I do it when I already have the css set to black for the board index.

Hope this makes sense.

Jim

Thantos

In SMF 1.1 the body of a message is put into a div with a class called post.  So you could specify a seperate style for links in a post by using something like:

.post a:link, .post a:visited
{
        text-decoration: underline;
}
.post a:hover
{
        text-decoration: underline;
        color: yellow;
}


for SMF 1.0 you can modify the Display.template.php
find:

 
// Show the post itself, finally!
                
echo '
                                                                </td>
                                                        </tr></table>
                                                        <hr width="100%" size="1" class="hrcolor" />
                                                        <div style="overflow: auto; width: 100%;">'
$message['body'], '</div>
                                                </td>
                                        </tr>'
;

and add a class="post" to the div

3guk

Tried both, nothing with either !! grrrr

Can't understand why it isnt working.

Very fustrating.

I updated the theme myself to smf1.1 and thats probably the problem.

Advertisement: