Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: iFrame in full height #1306806

    Hi Ismael,

    Thank you for pointing me in the right direction. After some experiments we succeeded with the following code:

    Script iFrame sender

      <script>
    
        // iFrame send height
    
        window.addEventListener('DOMContentLoaded', (event) => {
    
          const main = document.querySelector(".beeldverhaal");
    
          window.postMessage(main.offsetHeight, 'https://oudlisse.nl/');
    
        });
    
      </script>

    And in the site using the Enfold theme add this to functions.php

    // apply received iframe height
    
    function ava_custom_script_mod_iframe_height() {
    
      if ( wp_script_is( 'avia-default', 'registered' ) ) {
    
        wp_add_inline_script( 'avia-default', '
    
          window.addEventListener("message", (event) => {
    
            if (event.origin.startsWith("https://data.oudlisse.nl")) { 
    
              const container = document.getElementById("iframe-container");
    
              container.style.height = event.data + "px"; 
    
            } 
    
          }); 
    
        '
    
        );
    
      }
    
    }
    
    add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod_iframe_height', 9999);

    Thanks for your help.

    Kind regards,
    Henk

    in reply to: iFrame in full height #1304364

    Hi Ismael,

    Excuse me, that was the link to the page to put in the iFrame.
    Here is the link to the correct page in the website with Enfold: https://oudlisse.nl/uncategorized/beeldbanktest/.

    Kind regards,
    Henk

    in reply to: iFrame in full height #1303891

    Hey Ismael,

    Sorry, the site was down. the site is available again.

    Kind regards,
    Henk

    in reply to: Logo and transparancy logo both visible #1252313

    Hi Yigit,

    I continued my experiments and removed this snippet from Quick CSS;

    #top .av_header_transparency.av_alternate_logo_active .logo a > img {
        opacity: 1 !important;
        filter: alpha(opacity=1) !important ;
    }

    Also reversed color from logo’s: transparancy Logo is now white and logo is black.
    This works.
    Problem solved.
    Tanks.
    Kind regards,
    Henk

    in reply to: Logo and transparancy logo both visible #1252282

    Hi Yigit,

    This makes it a little better. Now a part of the transparancy logo is visible while srolled down.
    But transparancy logo is still visible while page is scolled up and the default logo does not dissapeared while scrolling down.

    Kind regards,
    Henk

    in reply to: Logo and transparancy logo both visible #1252278

    Hi Ricard,

    Thanks for your suggestion. As proposed I updated enfold from 4.3.1 to 4.7.6.4. But behaviour of transparancy logo is still the same:
    – transparancy logo is visible while page is scolled up
    – transparancy logo is coverd by logo while page is scrolled down.

    Your help is appreciated.

    Kind regards,
    Henk

    in reply to: Logo and transparancy logo both visible #1251565

    Hi Victoria,

    I like to do that. Here is the link: https://oudlisse.nl.

    Kind regards,
    Henk

    in reply to: Full screen slider is not responsive on iPad #971568

    Thanks Ismael, This is fine. Issue resolved. Kind regards, Henk

    in reply to: Full screen slider is not responsive on iPad #968070

    Hi Ismael,

    Thanks for your suggestion. This CSS workaround has effect. Great! The image distorts indeed a bit.

    The actual model of the iPad is ‘iPad Pro 12,9” Retina display (2732 x 2048 px).
    However the problem also occurs on an iPad min 3 (2048 x 1536 px) and on the old iPad WiFi (2012) (2048 x 1536 px).

    I prefer not enlarge dpi because I also get a larger image file size which effects response.

    Kind regards,
    Henk

    in reply to: Full screen slider is not responsive on iPad #965580

    Hi Rikard,

    The theme is updated to the latest version 4.4. Issue on iPad is still present (both Safari and Firefox).
    Please have a look.

    Kind regards,
    Henk

    in reply to: Scroll down arrow not working #963937

    Hi Yigit,
    Perfect. Switching position of the sliders resolved the issue.
    Thanks.

    Kind regards,
    Henk

Viewing 11 posts - 1 through 11 (of 11 total)