Home Forums Weaver X Tutorials and Hints Genericons obsolete?

This topic contains 4 replies, has 2 voices, and was last updated by  scrambler 3 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56120

    wpjap
    Participant

    Hi. I have tried this guide tip but it doesn’t work:

    Neither of these html-snippets in my content (text-area) present an icon in the rendered page:

    (I had to add a semicolon to be able to post this here)

    <;span class=”genericon genericon-twitter”>

    (btw: in the guide the forward slash is missing)

    <svg class="genericons-neue genericons-neue-search" width="16px" height="16px"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="genericons-neue.svg#search"></use></svg>

    (the latter is the suggestion from genericons.com)

    Can you give me a hint, what I am doing wrong?

    Thanks
    Jan

    #56121

    wpjap
    Participant

    Correction: It does work, only that you can’t see the result in the visual pane of the WP page editor.

    What I entered in the quote area above is this – except for the x letters:
    <xspan class=”genericon genericon-search”><x/span>

    You can’t enter the code directly here in this forum, probably because it is made with the WXT also. Not really practical for a support forum 🙁

    #56122

    scrambler
    Moderator

    To post HTML in this forum you have to use the preformatted paragraph style like below

    <span class="genericon genericon-search"></span>

     

    #56125
    Private Reply

    wpjap
    Participant
    This reply has been marked as private.
    #56126

    scrambler
    Moderator

    Code is supposed to work, But I found it unreliable.

    Preformatted works for me , not sure why it does not work for you, may be it is browser related.

    May be it is browser related. this appears to be a weakness of BBPress which is used for this forum.

     

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.