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

overlay with custom code

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 219 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.
  • A Offline
    A Offline
    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 Offline
      arminunruhA Offline
      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 Offline
        A Offline
        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 Offline
          arminunruhA Offline
          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 Offline
            A Offline
            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 Offline
              arminunruhA Offline
              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 Offline
                A Offline
                antoinencls
                wrote on last edited by
                #7

                @arminunruh Thank you Armin!

                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