Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Custom HTML only as text

Custom HTML only as text

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 839 Views
  • 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.
  • emgeofficeE
    emgeofficeE
    emgeoffice
    wrote on last edited by
    #1

    I observed something strange or maybe it is because I am doing something wrong.

    For some custom Javascript I added custom HTML to one page of my website. When trying to do this via +HTML I will not see it on the website but I can inspect it with Chrome though.

    So I added it via +Text—Source code and then it works. It is producing some glitches from time to time which could also be related to 'newpageshown' which might not work every time I am resizing the browser window.

    Does anybody know how I can make the HTML work the regular way? I want to see if Javascript works a bit more reliable then.

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @emgeoffice

      What may be happening (hard to say specifically). Is your + HTML is working fine but you must add some CSS styling to it.

      I have noticed this is the past. Hope it is helpful :)


      Best wishes
      Richard

      1 Reply Last reply
      0
      • emgeofficeE
        emgeofficeE
        emgeoffice
        wrote on last edited by emgeoffice
        #3

        Dear @Richard this did not work so far. :/ I am still going with the +Text. The code is there in the inspector if I add +HTML but there is nothing visible for the visitor of the website. Another problem is that the Javascript is somehow doubling, invisible though, if I add it that way.

        I guess all the problems are related to the fact that there are too many nested classes and containers if I add regular HTML. I can see it in the inspector. It is from 'gridder' to 'column' etc.

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear @emgeoffice

          Thanks for the update and for clarifying 🌝
          If you like, send me a link to your website and i can 'inspect' these elements that aren't visible.


          Best wishes
          Richard
          1 Reply Last reply
          0
          • emgeofficeE
            emgeofficeE
            emgeoffice
            wrote on last edited by emgeoffice
            #5

            Hi @Richard this is the link: www.emgeoffice.com

            The Javascript is on the front page / Files. Right now it is realised through the +Text—Source code element. You will maybe see that there are some bugs sometimes. It occurs especially on first load of the site.

            To see the issue with +HTML I created this test-page: https://emgeoffice.com/test/
            You can access it using your name as password: Richard

            Thank you so much!

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search