Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1213487
    Ying-Fu Li
    Participant

    Hi,

    on this website http://dehartenvriend.nl I have customized the widget title to have an image (a little heart). I used this code for that:

    4.h-widget{
        background: url(http://www.dehartenvriend.nl/wp-content/uploads/2016/09/Logo-DeHartenvriendsimple-copy-copy.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 20px;
        padding-left: 28px;
        font-size: 40px;
    }

    On this page: http://dehartenvriend.nl/hartenwinkel/ I use a different sidebar than the one on the homepage and it features woocommerce widgets. How can I get that same heart to appear in front of those? First image is what I want, the second how the current woocommerce widget titles are. Can’t find where to change it.

    #1214104
    Rupok
    Member

    Hi there,

    Thanks for wriitng in!
    You can add this under Custom > CSS in the Customizer.

    .x-main .widget {
      list-style: outside none none;
    }
    
    .x-widget-area .widget .widgettitle {
         background: url(http://www.dehartenvriend.nl/wp-content/uploads/2016/09/Logo-DeHartenvriendsimple-copy-copy.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 20px;
        padding-left: 28px;
        font-size: 40px
    }

    Let’s adjust the CSS if needed.

    Cheers!

    #1214324
    Ying-Fu Li
    Participant

    Thank you!

    #1214478
    Paul R
    Moderator

    You’re welcome! 🙂

  • <script> jQuery(function($){ $("#no-reply-1213487 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>