• We are running a special at our site and want to just add an image with a link to our store to our header. Can someone help me achieve this? Do I start with style.css or header.php? I’m lost.

Viewing 5 replies - 1 through 5 (of 5 total)
  • If the coupon is to appear in ALL pages, then you would go to the theme and edit its header.php file.

    Assuming you have a coupon that is 80 pixels in height:

    <div style="float: left; clear:both; text-align: center; width: 100%; height: 80px">
    <img src="/path-to-your-coupon-image-here.jpg" alt="Our store coupon"/>
    </div>

    You would place this somewhere near the top of your theme’s body tag, but this depends on the theme itself. I would suggest placing it at the very top of your page so that users will see it.

    Thread Starter Blake Barber

    (@clakeb)

    Thanks for the help! I am just getting into this php stuff.

    Thread Starter Blake Barber

    (@clakeb)

    Alright, I got the image in my header how do I add a link to it?

    Thread Starter Blake Barber

    (@clakeb)

    I’ve added a link to my image but now only a small sliver of the image is clickable. can someone tell me what I’m doing wrong? community.mises.org
    the banner in the top middle.

    style.css is the best way to do this but don’t know exactly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add coupon to header–help’ is closed to new replies.