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

    Hello,
    I installed the Enfold Visual Artist Theme and replaced some pictures on the page, but the problem is that the images of my startpage are shown very beautiful on a desktop but are not shown on an iPhone or iPad. I know that other people have the same problem but I couldn’t find a solution.
    Some people are changing something in the functions.php ore stylesheet.css but I don’t really know how to do it.
    Can you help me please?

    Thank you very much in advance!

    best regards
    Chris

    #1122781

    Hey Chris,

    I tried to login in the popup window that appears when trying to login however the credentials doesn’t seem to work, please check.

    Best regards,
    Nikko

    #1123056

    Hey Nikko,

    thank you for your answer. I saw that I took the wrong password.
    Please check the private content, it should work now :-)

    best regards,

    Chris

    #1123075

    Hi Chris,

    Thanks for the access, but I can’t see the issue on my end. Can you try the solution posted on this thread: https://kriesi.at/support/topic/playing-with-new-demos/#post-871865
    You will need to turn on first Custom Css Classes in Enfold > Layout Builder > check Show element options for developers then save. https://kriesi.at/documentation/enfold/intro-to-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements
    Next you edit homepage then edit the color section then on Custom Css Class field put: bg-fixed
    Go to Enfold > General Styling > Quick CSS, then add this code:

    .bgfixed {
    background-attachment: fixed !important; 
    }

    Finally go to Appearance (Design on your end) > Theme Editor > functions.php (put the code at the bottom):

    add_action('wp_footer', 'remove_class_if_ipad');
    function remove_class_if_ipad(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$(document).ready(function($){
    		var deviceAgent = navigator.userAgent.toLowerCase();
    		if (deviceAgent.match(/(iphone|ipod|ipad)/)) {
    		$('.bgfixed').removeClass('bgfixed');
    		}
    	});
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Nikko

    #1123115

    Thank you, I tried it but there was an error when I wanted to implement the code in functions.php

    please see the Screenshot:
    https://ibb.co/8N3PypY
    Problem functions.php

    thank you
    best regards
    Chris

    #1123125

    Hi Chris,

    I don’t think you need to add that function since the error mentioned that you have already declared that function.

    Best regards,
    Nikko

    #1123131

    I am sorry but it doesn’t work.

    On a desktop the website is perfect,
    but on a iPhone it is not working properly. Also on Android the images are shown in the wrong dimension.

    Please check once again the website, I activated the public entry. Please open it with a computer, and then with an mobile device, you wil see that it doesn’t look good.

    http://www.alivia.at

    Thank you!

    #1123719

    Hi Chris,

    I have made the modification based on the solution on the other thread.
    Can you try to check again?

    Best regards,
    Nikko

    #1123802

    Hi Nikko,

    I checked again, but the behavior on mobile devices is still different from the behaviour on a desktop PC.
    I can see the pictures now, but without this special scrolling effect which makes the Visual Artist Template so special.

    In other threads i read, that a lot of other people have this issue too, is there really no solution for that? I mean this problem exists a long time now, does nobody can fix that?

    Thank you for your help,

    best regards
    Chris

    #1124054

    Hi Chris,

    I have checked further into the issue and found out that this was an known bug in IOS devices (such as ipad and iphone), works fine in android phones.
    Fixed background attachment for images are not supported by IOS so any browser you use in ipad or iphone, it will not work.
    Up until know they did not support this feature but there are some people who claims that their workaround worked for them, can you try to set your site back to the demo you used? and I’ll try to apply those workaround mentioned for you.

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.