WordPress.org

Support

Support » Themes and Templates » [Resolved] how add image instead of "[Read more…]"

[Resolved] how add image instead of "[Read more…]"

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Han

    @hwijaya

    You can use background image via css

    a.more-link {
    font-size:0;
    background-image:url(your-image-url.png);
    width: you-image-width px;
    height: you-image-height px;
    }

    its only working if i m increase the font size..

    a.more-link {
    font-size: 25px;
    background-image:url(http://codex.wordpress.org/images/4/42/leaf.gif);
    width: 37px;
    height: 46px;
    }

    its show [Read more…](with background image)..
    .
    but
    .
    if i m change font size to zero..its show nothing..blank..

    Theme Author Han

    @hwijaya

    Try add display:block;

    a.more-link {
    font-size: 0px;
    display:block;
    background-image:url(http://codex.wordpress.org/images/4/42/leaf.gif);
    width: 37px;
    height: 46px;
    }

    yeah..its working..:)..:)
    .
    .
    but little problem..
    .
    image not showing in center..

    how change position to center..??

    margin-left: 70px; …………..solved..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] how add image instead of "[Read more…]"’ is closed to new replies.