Archive for Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
  Forum Index -> PhpBB2 General Support

Changing announcement and stickey text colour
Hi is is possible to make the text appear as in the attached picture?


myff admin

Not exactly as you picture it, with different announcements/stickies in different colours.
But if you look in viewforum_body.tpl you can use stuff along the lines of:


<!-- IF topicrow.S_TOPIC_TYPE == 2 ||   topicrow.S_TOPIC_TYPE == 3 -->
<!-- IF topicrow.ROW_NUMBER is even -->
      <li class="bg1">
<!-- ELSE -->
   <li class="bg2">
<!-- ENDIF -->
<!-- ENDIF -->

1 is sticky, 2 is announce , 3 is global announce.

As such you can control the CSS and style topic types differently.

Thanks, I'll have a play Forum Index -> PhpBB2 General Support
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum