• Resolved foooder

    (@foooder)


    Can anyone tell me the best way for me to replace my comments link with an image? I tried this and it sorta works but I’m sure there is a better way:

    my css:

    #comment-btn {
    background: url(“images/button_comments.gif”) no-repeat;
    height: 18px;
    }

    button code:

    < a href=”<? php comments_popup_link () ?>” title=”Comments”><div id=”comment-btn”></div>

    Now like I said this works but is more of a linked background then an inserted image. Any recommendations on how to make this more like an image or button?

Viewing 1 replies (of 1 total)
  • Thread Starter foooder

    (@foooder)

    I think I got it, something like this:

    href=”<?php the_permalink() ?>” rel=”bookmark” title=”Details”><img class=”detail_image” alt=”more information” src=”<?php bloginfo(‘template_url’); ?>/images/button_buy_now.gif” />

Viewing 1 replies (of 1 total)
  • The topic ‘Replacing comments text link with a button’ is closed to new replies.