Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Glyphicons not inserting into Source Code window in Text Editor properly

    Bug Reports
    2
    5
    301
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DMB
      DMB last edited by

      Hi @Armin-Unruh @mariusjopen ,

      I'm trying to insert some glyphicons in the text editor. Using the 'source code' editor in the text function I can get glyphicons to appear - but only if there is a something entered into the span, like this A (it could be anything however, even a fullstop) :
      —

      <p><span class="glyphicon glyphicon-triangle-bottom">A</span></p>

      —

      If I leave the span blank like this it automatically deletes my code:

      —

      <p><span class="glyphicon glyphicon-triangle-bottom"></span></p>

      —

      How can I solve this because I just want to be able to show icons not characters as well? It seems that to make the span glyphicon appear you need a character value entered in the span tag, which is odd...

      If you leave it blank like my second code example it deletes the code and says 'Empty Text'

      Any ideas?

      Best,

      D

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi @DMB

        did you try to use the HTML embed?

        0_1515018523939_Bildschirmfoto 2018-01-03 um 20.28.23.png

        Let me know if that works for you!

        Happy new year!

        Marius

        www.mariusjopen.world

        DMB 1 Reply Last reply Reply Quote 0
        • DMB
          DMB @mariusjopen last edited by

          @mariusjopen That solved it! Thanks so much!

          D

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Ah! Perfect!

            www.mariusjopen.world

            DMB 1 Reply Last reply Reply Quote 0
            • DMB
              DMB @mariusjopen last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Before you post

              Use the Search Feature. Maybe there is already a solution to your issue.

              1. Update Lay Theme and all Lay Theme Addons
              2. Disable all Plugins
              3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
              4. Now see if your problem solved itself
              5. Go here, see if your problem is listed here:
              Troubleshooting

              When you post:
              1. Post a link to where the problem is
              2. If the problem is difficult to explain, post screenshots / link to a video to explain it

              Thanks!

              Online Users

              A
              S
              S
              G
              L

              Recent Topics

              • A

                Theme crashed - because of Polylang?

              • A

                can't change front page

              • M

                komische boxen auf der Website

              laytheme.com