Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: lordrene on January 16, 2015, 08:58:33 PM

Title: Make Thread Title on Message Index Bold?
Post by: lordrene on January 16, 2015, 08:58:33 PM
Anyone know how to make JUST the thread title bold?

I've tried making it bold and it makes other text bold aswell, i just want the thread title bold

(http://i.imgur.com/4n9hTBE.png)
Title: Re: Make Thread Title on Message Index Bold?
Post by: ARG01 on January 16, 2015, 10:56:31 PM
Got a link?
Title: Re: Make Thread Title on Message Index Bold?
Post by: Antes on January 17, 2015, 05:01:20 AM
add this to your index.css (to end of the file)

#messageindex .subject a {
font-weight: bold;
}
Title: Re: Make Thread Title on Message Index Bold?
Post by: lordrene on January 17, 2015, 06:25:50 AM
Quote from: Antes on January 17, 2015, 05:01:20 AM
add this to your index.css (to end of the file)

#messageindex .subject a {
font-weight: bold;
}

Thank you, It worked!
Title: Re: Make Thread Title on Message Index Bold?
Post by: Debido on January 18, 2015, 11:57:46 PM
How come when I tried this, its made the subject line bold ok, but also made the posters name bold? How do you just make the subject words bold but not the posters name?
Title: Re: Make Thread Title on Message Index Bold?
Post by: Antechinus on January 18, 2015, 11:59:48 PM
Try this instead:

#messageindex .subject a {
font-weight: bold;
}
#messageindex .subject a:last-child {
font-weight: normal;
}
Title: Re: Make Thread Title on Message Index Bold?
Post by: Debido on January 19, 2015, 12:22:44 AM
Quote from: Antechinus on January 18, 2015, 11:59:48 PM
Try this instead:

#messageindex .subject a {
font-weight: bold;
}
#messageindex .subject a:last-child {
font-weight: normal;
}


that doesnt change the subject but does make the posters name bold
Title: Re: Make Thread Title on Message Index Bold?
Post by: Antechinus on January 19, 2015, 12:27:21 AM
#messageindex .subject a {
font-weight: bold;
}
#messageindex .subject p a:first-child {
font-weight: normal;
}
Title: Re: Make Thread Title on Message Index Bold?
Post by: Debido on January 19, 2015, 12:32:35 AM
that did it! thank you  ;) ;)
Title: Re: Make Thread Title on Message Index Bold?
Post by: Antechinus on January 19, 2015, 12:36:04 AM
Been a while since I looked at default 2.0.x markup, so had to go pick it out of the message index here. :D