Forums

Music Mag 5 1.0 Theme Help (1 post)

  1. jharris68
    Member
    Posted 3 years ago #

    http://www.freewordpresstheme.info/go/4560demo

    I'm hoping someone could help me with the above theme. What I want to do is swap out the four ads across the top, which are images, with similar looking html tables so I can insert my own images and text. I want to insert something like this instead:

    <table width="46%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#CCCCCC">
    <tr>
    <td width="231" height="143" background="images/box_about.gif"> </td>
    <td width="231" height="143" background="images/box_about.gif"> </td>
    <td width="231" height="143" background="images/box_about.gif"> </td>
    <td width="231" height="143" background="images/box_about.gif"> </td>
    </tr>
    <tr>
    <td width="231" height="23" bgcolor="7E8F01"> </td>
    <td width="231" height="23" bgcolor="7E8F01"> </td>
    <td width="231" height="23" bgcolor="7E8F01"> </td>
    <td width="231" height="23" bgcolor="7E8F01"> </td>
    </tr>
    </table>

    As it's set up now the adds pull from a file called topads.php:

    <div class="topads">

    <div class="topads_ad"><img src="<?php bloginfo('template_directory'); ?>/ads/top_ad1.jpg" alt="Banner" /></div>
    <div class="topads_ad"><img src="<?php bloginfo('template_directory'); ?>/ads/top_ad2.jpg" alt="Banner" /></div>
    <div class="topads_ad"><img src="<?php bloginfo('template_directory'); ?>/ads/top_ad3.jpg" alt="Banner" /></div>
    <div class="topads_ad"><img src="<?php bloginfo('template_directory'); ?>/ads/top_ad4.jpg" alt="Banner" /></div>
    </div>

    <div class="clear"></div>

    This above file is pulled into the header.php file like this:

    <div id="page-top">

    </div>
    <?php include (TEMPLATEPATH . '/topads.php'); ?>
    </div>

    Any help or suggestions would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags