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. Jameda embed code doesn't work properly on custom phone layout

Jameda embed code doesn't work properly on custom phone layout

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 373 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.
  • moND0711M Offline
    moND0711M Offline
    moND0711
    wrote on last edited by
    #1

    Hi there,

    Jameda (jameda.de) embed codes doesn't work properly on custom phone layout.

    Looks fine on desktop view:
    a7d5ee8c-3799-4568-825a-0902d1900319-grafik.png

    But on mobile (custom phone layout!) it's not shown properly:

    e9d801c8-a126-407b-9639-fcfad9beafd3-grafik.png

    Any suggestions? Would be great!

    Thanks a lot in advance!
    MO

    PS:
    Website: kokon18.de

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

      Dear @moND0711

      I am not familiar with 'jameda' sorry but the actual function of the embed is working? if its just the layout of the elements this can be adjusted with CSS.

      Best wishes
      Richard

      moND0711M 1 Reply Last reply
      0
      • RichardR Richard

        Dear @moND0711

        I am not familiar with 'jameda' sorry but the actual function of the embed is working? if its just the layout of the elements this can be adjusted with CSS.

        Best wishes
        Richard

        moND0711M Offline
        moND0711M Offline
        moND0711
        wrote on last edited by
        #3

        @Richard

        Hi Richard,
        thanks for repley!

        Unfortunately it's not to be fixed by simple CSS:

        The Jameda script goes directly to a specific ID in the source code. If you go to https://cdn1.jameda-elements.de/widgets/siegel/81486304_1/1151621/, you will see that it contains the following:

            const widgetContainerWithBadgeRowId = '#jameda-widget-container1151621';
        

        Jameda searches for the element with the ID "jameda-widget-container1151621" in the source code and replaces this placeholder with the actual content.

        However, due to the current structure of the page - desktop and mobile view have a completely different HTML structure - this element with this ID exists twice. In other words, the script (as programmed) only replaces the first placeholder it finds. In this case, it is the placeholder in the desktop view.

        Do you think there's a fix possible in the near future?

        Thanks!
        Mar

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

          Dear Mar

          @moND0711

          "Jameda searches for the element with the ID "jameda-widget-container1151621" in the source code and replaces this placeholder with the actual content."

          I think its best we Ask Armin, Mar and will get back to you shortly,
          Apologies i cannot be of more help right away.

          Talk soon & have a lovely day :)

          Sincerely
          Richard

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

            custom phone layout html and desktop html coexist on the same page.
            that is why some embdeds dont work properly, because some services dont support 2 identical embeds on the same page

            so probably the solution would be to use two different embeds or to not use a custom phone layout on that page

            1 Reply Last reply
            1
            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
            C
            craigfeldspar
            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