Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Bug Reports
  3. Custom <head> content causes Display Problem

Custom <head> content causes Display Problem

Scheduled Pinned Locked Moved Bug Reports
7 Posts 2 Posters 120 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.
  • M Offline
    M Offline
    mika
    wrote on last edited by
    #1

    Hey Lay-Theme-Team :)

    I noticed a problem with the custom head content in connection with the fullscreen slider. I use the vertical fullscreen slider option to have a »slide-website«. When i just write anything (f.e. the number »1« or the charackter «a» in the custom <head> content, a problem will occur. In this case a part of the background from the previous slide is showing at the top fromt the current slide. You can see it here:

    https://noriundmichi.de/markenentwicklung-mit-studio-mikalo-mittels-spielfeld-modell-copy

    I want to use JS in future, so what can i do to solve this problem?

    BTW: Can anybody give me a hint when a accordeon or read more function will be updated to the lay theme? This is how i discovered the custom <head> content-problem. Because i wanted to implement this and was wondering myself about the strange behavior of the background – until i realize its a general problem with the implementation of custom <head> content.

    Thanks and best wishes
    Micha

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      BTW: Can anybody give me a hint when a accordeon or read more function will be updated to the lay theme?

      yea its on my todolist
      right now there is only the expand row feature

      your markup in your custom head content is faulty maybe

      if you want to write javascript, you need to write:

      <script>

      var hello = 'mystring';

      </script>

      you need to wrap it in script tags

      maybe you just wrote js in there, then it will just be added as text to the website i think

      and adding normal text to the <head> can break your website

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        what exactly did you put in your <head> can u post a screenshot of this?

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          Screenshot 2024-02-26 at 18.55.58.png

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            yea you cant just write a "A" in there

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              i think you may have used "html at top" instead of custom <head> content

              since its just the letter A in there, it pushes the rest of the whole website down, so u get this black bar there

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mika
                wrote on last edited by
                #7

                Thanks for your help, it now work :)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                I also code custom websites or custom Lay features.
                💿 Email me here: 💿
                info@laytheme.com

                Before you post:
                1. When using a WordPress Cache plugin, disable it or clear your cache.
                2. Update Lay Theme and all Lay Theme Addons
                3. Disable all Plugins
                4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                This often solves issues you might run into

                When you post:
                1. Post a link to where the problem is
                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                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