WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] Icon before widget title (6 posts)

  1. behmtt
    Member
    Posted 7 months ago #

    I have an question.

    On http://www.durksweb.nl/website3/kariba/ at the right side i want to ad a icon to the widgets: Handig, Foto’s and Video. I read the snippet at http://www.themesandco.com/snippet/change-postpage-icon-title/ but that does not work for me.
    Is there a way to ad an icon to those widgets?

  2. ElectricFeet
    Member
    Posted 7 months ago #

    See here for a similar question. Use Firebug to see the correct CSS for your situation. Customizr ships with Genericons and Entypo fonts, so if you choose one of those for your icon, you should be safe.

  3. behmtt
    Member
    Posted 7 months ago #

    The piece of code
    .widget_text h3:before {
    content: "\f302";
    }
    from the post Text widget with item worked for two widgets Foto's en Video.
    There is one item left called Handig which has the same class: <h3 class="widget-title">Handig</h3> but shows no icon.
    This widget hat a category in "links" with two links in the category.
    I do not understand why this does not work.

  4. ElectricFeet
    Member
    Posted 7 months ago #

    This was why in the other thread I was trying to use more specificity in resolving the icon issue. If you simply target .widget_text h3:before, then all your text widgets will have that icon. But my suggestion didn't work for zap2zero, so hey ho.

    In your case, the links are iin a links widget, not a text widget, so the text widget icon won't work. You probably need to target .widget_links h3:before instead. But check this doesn't have unintended consequences elsewhere.

  5. behmtt
    Member
    Posted 7 months ago #

    Thanks, the target .widget_links h3:before wordks for me as you can see on http://www.durksweb.nl/website3/kariba.

    Thanks for the help.

  6. behmtt
    Member
    Posted 6 months ago #

    Resolved.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.