SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Strange things in height and widht

4 years 1 month ago #118625 by Reyad86
Strange things in height and widht was created by Reyad86
I know, these theme and plugin are both commercial products, but this css problem is a strange thing, that I think can be interesting to study in a more general way.

In this site, wp.zonawrestling.net, I have a slider with wrong width-height proportions until I resize the page, what can cause this strange behaviour in a CSS object?

Please Log in to join the conversation.

4 years 1 month ago #118641 by Nick
Replied by Nick on topic Strange things in height and widht
Hi and welcome, Reyad86!

Hope you had a good weekend!

In your case, it's Javascript that's adjusting the HTML output. It detects the size of the viewport and adjusts appropriately according to its algorithm. The adjustment size is slightly different than the page load size.

You could contact the developers and ask them to look into the discrepancy further. They should be able to narrow down the issue to specific lines of code that are causing the discrepancy.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!