-
AuthorPosts
-
October 3, 2024 at 3:01 am #1468319
Hi, Here are links to screen shots of the home page at fiestapoolsandspas.com. There is a large white space under the hero image and before the rows of images. Can you please advise as to how we can fix it? Thank you so much!
Justine
October 3, 2024 at 5:54 am #1468330Hey jnightingale,
Thank you for the inquiry.
For some reason, the slider is not resizing correctly. Please try to toggle or temporarily disable the Enfold > Performance > File Compression settings, then purge the cache or deactivate the cache plugin temporarily. Let us know of the result.
Best regards,
IsmaelOctober 3, 2024 at 5:56 pm #1468379Hi, Ismael,
Thank you, but that didn’t work.
Another thought?
Thanks!October 4, 2024 at 4:03 am #1468393Hi,
Thank you for the update.
We are not yet sure what’s causing the issue. In the meantime, please try to add this script in the functions.php file:
add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize() { ?> <script> (function($) { var resizeInterval = setInterval(function() { $(window).trigger('resize'); }, 1500); $(window).on('load', function() { setTimeout(function() { clearInterval(resizeInterval); }, 500); }); })(jQuery); </script> <?php }
The script should force the slider to resize automatically while the page is loading.
Best regards,
IsmaelOctober 5, 2024 at 3:14 am #1468452Where do I find that file? Thank you!
October 5, 2024 at 10:56 am #1468463Hi,
That file can be found under Appearance->Theme file editor. It looks like that option is turned off on your installation though, it’s likely turned off by your hosting provider. Note that if you are not running a child theme, then your changes to core theme files will be overwritten on updates. You can also add code using a plugin like this: https://wordpress.org/plugins/code-snippets/
Best regards,
RikardOctober 7, 2024 at 10:47 pm #1468604Hi, Rikard,
I added the code using Code-Snippets in the Functions PHP box, but I get this error: Could not update snippet. Request failed with status code 403
Thoughts?
Please help. Thank you so much!October 8, 2024 at 4:35 am #1468621Hi,
We’d like to add this to your site, but the Appearance > Theme File Editor is not accessible. Please enable the editor or provide the FTP login details in the private field.
You can enable the editor by setting DISALLOW_FILE_EDIT to false in the wp-config.php file.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.