SMF Support > SMF 2.0.x Support
Would like all topic titles in message index bold
(1/1)
boo2:
In messageindex.template, I would like all the topic titles to be bold, not just the sticky topic titles. Just the titles. I have tried a few suggestions sort of related by they did not work.
When someone has some time, I'd appreciate knowing what to replace and with what. So far everything i have tried has given me an syntax error, whatever that is. :o Thanks.
Using smf 2.0.2
K@:
Have you tried mucking around with index.css?
It's quite well commented-out. So, finding the right section should be fairly easy, even if you have to use a bit of trial-and-error.
The "font-weight: bold;" should do it.
boo2:
--- Quote from: K@ on September 01, 2012, 10:18:01 AM ---Have you tried mucking around with index.css?
It's quite well commented-out. So, finding the right section should be fairly easy, even if you have to use a bit of trial-and-error.
The "font-weight: bold;" should do it.
--- End quote ---
That didn't work, it didn't make 'just' the title of the topic bold, which is what I am after. A few people have said that it has to be done in messageindex.template, but the code they suggested caused an error.
Went back to it today and looked at that same bit of code and changed one thing and it worked
--- Code: ---', '<strong>', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? ' <em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', '</strong>';
--- End code ---
They had it this way:
--- Code: ---', <strong>', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? ' <em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', '</strong>';
--- End code ---
They left off one character before the strong tag as you see here:
--- Code: ---<strong>'
--- End code ---
Anyway it worked but I would feel better if someone verified this before anyone tried it on their messageindex.template.php
Navigation
[0] Message Index
Go to full version