Forums
(@samucarvajal)
1 year, 1 month ago
I did a bit of digging and found out the issue I had. Sharing it in case someone has the same problem:
<?php add_action( 'wp_enqueue_scripts', 'abisko_enqueue_styles' ); function abisko_enqueue_styles() { wp_enqueue_style( 'abisko-styles', get_parent_theme_file_uri( 'style.css' ) ); }
Very much like previous versions, just add a functions.php to the folder of your Child Theme. With this code Abisko works perfectly.
Thanks Anders!
3 years, 6 months ago
So, I worked out a solution! (pretty fast)
Instead of trying to find a code to prevent it, I started to look for the cause.
And the cause was a search widget.. so I deleted it. And now it works fine.
Still not optimal on Safari, but, anyways.
Also found a code that solves the issue:
html { position: fixed; height: 100%; overflow: hidden; } body { margin: 0; width: 100vw; height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
BUT, it just blocks the sticky navigation on desktop, creates problems on the checkout cart, and in the input for addresses.