-
AuthorPosts
-
July 18, 2018 at 3:23 pm #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!
July 19, 2018 at 2:39 pm #987419Hey 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,
IsmaelJuly 19, 2018 at 2:45 pm #987423…okay, but where do i have to put this code?? header.php??
Thank you :-)July 20, 2018 at 7:27 am #987716Hi,
No, not in header.php. Please try in your functions.php file.
Best regards,
RikardJuly 20, 2018 at 9:44 am #987746…sorry, but it doesn`t work. I give you the access in private content. Maybe you can have a closer look. Thank you!
July 20, 2018 at 2:40 pm #987860Hi,
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,
IsmaelJuly 20, 2018 at 4:12 pm #987891… sorry, the position did not change :-( Any further idea?
Thanks a lot!July 23, 2018 at 1:44 am #988539Hi,
Odd. I’ll ask the rest of the team to check it on mobile. Please wait for their response.
Best regards,
IsmaelJuly 25, 2018 at 8:45 am #989544Hi Ismael,
still no idea?
Thanks :-)July 25, 2018 at 10:29 pm #989958Hi,
Unfortunately, we have not found any issues.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.
