Simple 'announcement bar' for prosilver

Articles and Information - phpBB 3.0 modifications and tweaks

Simple 'announcement bar' for prosilver

Postby Mick » Fri Mar 31, 2017 11:00 am

Assuming prosilver or derivative you can do this:

Copy the code below and save it as an HTML file called announcement.html in to /styles/yourstyle/template folder.

Code: Select all
<!-- This is the start of the announcement bar -->

<div class="forabg">
        <div class="inner"><span class="corners-top"><span></span></span>
        <ul class="topiclist">
            <li class="header">
                <dl class="icon">
                    <dt>Announcement</dt>
                </dl>
            </li>
        </ul>
        <ul class="topiclist forums" style="padding: 0.05cm">

        Your code here
       
        </ul>
        <span class="corners-bottom"><span></span></span></div>
        </div>

<!-- This is the end of the announcement bar -->

Obviously you have to add whatever it is you want to add where it says "Your code here"

Then add the following at the very end of your overall_header.html (after the last <!-- ENDIF -->)

Code: Select all
<!-- INCLUDE announcement.html -->

Refresh your template.
"The more connected we get the more alone we become" - Kyle Broflovski
User avatar
Mick
 
Posts: 24
Joined: Wed Mar 15, 2017 9:14 am

Return to Articles and information

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests

cron