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. overlay with custom code

overlay with custom code

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • A
    A
    antoinencls
    wrote on last edited by
    #1

    Hello Armin, how are you?
    Since the last laytheme updates, I can't open an overlay from a custom html code. I had programmed something from a custom accordion with a <a> link (copying the exact code generated by a laytheme link) but it opens the "overlay" page in a new tab... Before the theme update, the overlay even worked from a custom link.
    Do you know why?

    For the record, this is an overlay on a woocommerce product page. The code is customized in the "short description" part of the product.

    Thanks a lot!

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

      yes!

      so the is, some websites don't work with the lastest version of safari on iOS. i saw some lay theme websites crashing and some cargocollective websites too :D

      i found out the issue: it was because there were too many html elements on the website.
      thats why i had to code the overlay feature differently, so the overlay markup would only be part of the page if there actually was an overlay link on the page.

      it doesn't scan for overlay links in custom html, but i will change the code to include the custom html too and then it should work

      will release the update later today!

      A 1 Reply Last reply
      0
      • arminunruhA arminunruh

        yes!

        so the is, some websites don't work with the lastest version of safari on iOS. i saw some lay theme websites crashing and some cargocollective websites too :D

        i found out the issue: it was because there were too many html elements on the website.
        thats why i had to code the overlay feature differently, so the overlay markup would only be part of the page if there actually was an overlay link on the page.

        it doesn't scan for overlay links in custom html, but i will change the code to include the custom html too and then it should work

        will release the update later today!

        A
        A
        antoinencls
        wrote on last edited by
        #3

        @arminunruh Thanks Armin, it does work from custom html but it doesn't work on a woocommerce product page in which I've integrated custom html code. Do you know why?

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

          how did you put in the custom code? like where exactly?

          yea i only check for the gridder content and the content of the custom html in lay options → custom html & css

          i dont check for custom code inserted somehow in product pages
          but i can if you tell me where exactly you inserted your link

          A 1 Reply Last reply
          0
          • arminunruhA arminunruh

            how did you put in the custom code? like where exactly?

            yea i only check for the gridder content and the content of the custom html in lay options → custom html & css

            i dont check for custom code inserted somehow in product pages
            but i can if you tell me where exactly you inserted your link

            A
            A
            antoinencls
            wrote on last edited by
            #5

            @arminunruh Hi Armin, top!
            I've inserted it in the "short product description" and "long product description" on the woocommerce product pages.

            Does that seem workable to you?
            That would be great!

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

              alright, will be added to the next update

              A 1 Reply Last reply
              0
              • arminunruhA arminunruh

                alright, will be added to the next update

                A
                A
                antoinencls
                wrote on last edited by
                #7

                @arminunruh Thank you Armin!

                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