Forums

Changing default ad in sidebar (4 posts)

  1. lukey81
    Member
    Posted 3 years ago #

    Hi All

    I have been having trouble changing the default ad in the theme I downloaded. The default ad is just AD SPACE image. My website is http://www.homopolitan.com.au
    I go to the theme designer and have been through all the files looking for where it says "ad". there is a sidebar.php file but no rightsidebar.php file. How can I change this ad space?

    Thanks

    Luke

  2. thetvstop
    Member
    Posted 3 years ago #

    check and see if the style.css file has properties set for the ad spot.

    sidebar sidebar-right is the css class you will be looking for in the style.css file. If not, look and see which files in the theme are not in a normal theme. Most ads in themes are in a file like 125x125.php or so on.

  3. lukey81
    Member
    Posted 3 years ago #

    Hi Thanks for replying. I appreciate your help. I have combed all the files by copying the contents and then pasting into word and doing a Find ad.gif but not one contains this text. But what I did do is upload my own image named ad.gif and bingo, it changed the image to my ad. The only problem now, I dont know how to link it to my affiliate site. I have been trying for hours, and its really doing my head in. If you could assist me again, I would be really appreciative.
    Thanks
    Luke

  4. thetvstop
    Member
    Posted 3 years ago #

    If the ad on the right side of your theme in a sidebar? If so, the proper place to search for that ad would be sidebar.php open it in a text editor and search for "ad.gif" once it finds the image you will then link to your affiliates site by changing the line of code for your ad to resemble something like:

    <a href="url to affiliate"><img src="location of where your ad.gif is stored" border="0"></a>

    You can also spice up the image a bit an add some title text to it by doing this:

    <a href="url to affiliate"><img src="location of where your ad.gif is stored" title="affiliates name" border="0"></a>

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.