Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1264792

    Hi, I am on my 10th license with Enfold and very much enjoy the flexibility and ease that comes with it. Thank you!

    I came across an issue recently where I’m using color sections to create an overall background image on the page. It’s a smaller image just set to repeat in the background. On some pages, this works great and others it doesn’t. The difference is the code block. Whenever those are present to have shortcode for a plugin, the background image doesn’t show up except at the very bottom of the page. When I remove the code blocks and only have text/images within the color space it works fine. Any thoughts on why code blocks are creating the issue? I do know it’s not a plugin issue although the coding within the code block utilizes a plugin called Twenty20 Image Before-After.

    Alternatively, I am fine applying a background image to the entire page without using the Color Section, but haven’t seen any posts where that was successfully achieved.

    Thank you for your help!

    Links posted in Private Content.

    #1265413

    Hey imagestudios,

    Thank you for the inquiry.

    The parallax background is now visible throughout the whole section of the the-trails-at-san-dimas page. Did you manage to find a fix?

    Best regards,
    Ismael

    #1265500

    No. It still isn’t showing up on my end for the-trails-at-san-dimas page. I’m using Chrome and doesn’t work there or Safari. Haven’t checked any other browser type.

    #1265966

    Hi,

    Thank you for the info.

    It display back to how it should on Chrome once the browser is resized. Please try to add this snippet in the functions.php file to force a resize on page load.

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('debouncedresize resize');
    	}, 1000);
    	
    	$(window).load(function () {	
    		setTimeout(function() {
    			clearInterval(int);
    		}, 3000);
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    Best regards,
    Ismael

    #1266112

    Thank you for this Ismael. I plugged it in, but still showing white rather than the background. I can resize the browser and then widen it and it shows up, but upon refresh, it’s gone again. Appreciate your work on this!

    #1266210

    Hi,

    The height of the parallax container should adjust on window resize or after the av_resize_finished event. Please post the login details in the private field so that we could check the modification and adjust it when necessary. Make sure that the Appearance > Editor panel is accessible.

    Thank you for your patience.

    Best regards,
    Ismael

    #1266380

    Login info posted in private.

    #1266810

    Hi,

    Thank you for the update.

    We added the av_resize_finished event to the script and it seems to have helped with the issue. The parallax container is now resizing properly on page load. Please remove the browser cache prior to checking the page.

    Best regards,
    Ismael

    #1269093

    Sorry for the delay in getting back. That is absolutely perfect — thanks so much for your insight and fix Ismael!

    #1269136

    Hi imagestudios,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Background Image Not Showing In Color Section When Code Block Is Present’ is closed to new replies.