WordPress.org

Ready to get started?Download WordPress

Forums

How to make an Image direct to a certain url? (5 posts)

  1. finox831
    Member
    Posted 3 years ago #

    Hi, I was wondering on how I can make my newsletter image direct you to a certain url? my site is http://www.eplreport.com and the image I want to be able to redirect is the yellow ad that says "Join the Newsletter" and I'm using the mediapress theme.

    -thank you for taking the time to read this!!!

  2. irfan_np
    Member
    Posted 3 years ago #

    <a href="GIVE THE URL HERE"><img alt="" src="http://eplreport.com/wp-content/uploads/2011/08/newsletter5.jpg"></a>

  3. finox831
    Member
    Posted 3 years ago #

    thanks dude! now one more thing, I'm a total noob at this, where does it go in my css?? If possible i would like the newsletter ad to go on the right side of my banner, right next to the text "EPL REPORT" if that's not possible then I will just keep it where its at.

    thank you so much for the help

  4. finox831
    Member
    Posted 3 years ago #

    I tested it and the code worked! thanks so much man, if you could help me on how to make the "newsletter ad" appear in the right side of my banner I would really appreciate it so much man.

  5. irfan_np
    Member
    Posted 3 years ago #

    Search for <div id="headerad"> in header.php use the below code instead of that.

    <!-- Header ad -->
             <div id="headerad">
             <a href="http://eepurl.com/e7f8c"><img alt="" src="http://eplreport.com/wp-content/uploads/2011/08/newsletter5.jpg"></a>
            </div>
    <!-- End of header ad -->

    Reduce the size of that image to fit in that space

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.