How to add different style to the first post?
Hi. I am trying to build a site, where user can ask question and other users can give answers to them, sort of a counselling site. That means, that the first post of every topic is a question and the other posts are the answers. I would like to give the first post, the question a different style, so that it can “stand out in the crowd of answers”, e.g. different background color, bold fonts, etc.
I figured out that I propably need to edit this part of the layout, I just do not know how, as I do not really know php:
<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<p id=”post-<?php post_id(); ?>”>
<?php bb_post_template(); ?>
<?php endforeach; ?>
- You must be logged in to reply to this topic.