Tagged: content width, height, portfolio raster, responsiveness
-
AuthorPosts
-
November 4, 2016 at 8:53 pm #708417
Dear support team,
on our page https://www.hapkido.academy i experience incorrect display of video thumbnails in a portfolio raster (“adjust to content width”). This happens in Firefox, when i fully reload the site (shift + reload) and immediately scroll down to Videos. If the browser hasn’t rendered the page fully yet, it seems you forget to adjust the correct height of the video thumbnails once it has finished its work.
When i resize the browser window, the thumbnails’ heights is immediately corrected.Is this a bug in your theme?
Am i doing something wrong?I attached links of a sample output in case you can’t reproduce the effect instantly.
best regards,
TomNovember 7, 2016 at 3:06 pm #709247Hey Thomas,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
AndyNovember 7, 2016 at 3:19 pm #709261Hey Andy,
here the requested info …
best regards,
TomNovember 8, 2016 at 7:44 am #709629Hey!
Thank you for the info.
We added the following code in the functions.php file.
add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('resize'); }, 1500); $(window).load(function () { setTimeout(function() { clearInterval(int); }, 5000); }); })(jQuery); </script> <?php }Please remove browser cache or hard refresh before checking the page.
Cheers!
IsmaelNovember 8, 2016 at 1:19 pm #709764Hi Ismael,
thanks for the workaround!
November 9, 2016 at 7:24 am #710086 -
AuthorPosts
- You must be logged in to reply to this topic.
