Support » Themes and Templates » Change Widget h2 to image

  • Hi,

    I’ve been trying to replace the title of my different widgets to images.

    For instance changing the pages title to a image i’ve drawn.

    <li id=”pages-4″ class=”widget widget_pages”>
    <h2 class=”widgettitle”>Pages</h2>

      I’m not sure how to style this in my css.

      My site is http://memoiries.com/

      I’d like the widget titles to be similar to that of my logo.

      Could anyone help?

      Thanks

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    Try:

    <li id="pages-4" class="widget widget_pages">
    <h2 class="widgettitle"><span>Pages</span></h2>

    and

    .widget_pages h2 {background:url(images/pages.jpg) no-repeat left top;}
    .widget_pages h2 span {display:block;position:absolute; top:-5000px;left-5000px;}
Viewing 1 replies (of 1 total)
  • The topic ‘Change Widget h2 to image’ is closed to new replies.