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

    Hi, please have a look at the provided link (Onepager). And please use your Smartphone – on mobile simulation (Desktop) it is working fine!
    Use the mobile burgermenu to navigate – but you do not reach exactly the point where you shoud come to (the blue headlines). Tried the followimg solution:
    h1{margin-top:-140px!important;padding-top:140px!important}

    But it did not work
    Any idea??

    Thank you!

    #987419

    Hey SvHa,

    Thank you for using Enfold.

    Try to adjust the scroll offset value on mobile view.

    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
    function avf_header_setting_filter_mod($header) {
            if( wp_is_mobile() ) {
    	    $header['header_scroll_offset'] = $header['header_scroll_offset'] + 48;
            }
    	return $header;
    }

    Adjust the value “48” as needed.

    Best regards,
    Ismael

    #987423

    …okay, but where do i have to put this code?? header.php??
    Thank you :-)

    #987716

    Hi,

    No, not in header.php. Please try in your functions.php file.

    Best regards,
    Rikard

    #987746

    …sorry, but it doesn`t work. I give you the access in private content. Maybe you can have a closer look. Thank you!

    #987860

    Hi,

    The main container’s scroll offset value is set to 210. It was set to 70 before so the filter is working. Does it affect the scrolling position on mobile view?

    Best regards,
    Ismael

    #987891

    … sorry, the position did not change :-( Any further idea?
    Thanks a lot!

    #988539

    Hi,

    Odd. I’ll ask the rest of the team to check it on mobile. Please wait for their response.

    Best regards,
    Ismael

    #989544

    Hi Ismael,
    still no idea?
    Thanks :-)

    #989958

    Hi,

    Unfortunately, we have not found any issues.

    Best regards,
    Basilis

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