indoctrinated
Forum Replies Created
-
It seems we found a solution!
Since you didn’t set any doctype in the HTML, when javascript looks for the window height, it returns the document height, which is much taller and causes top to get set to a much higher value.
Could you add a doctype to your theme?
<!DOCTYPE html>Thanks, Jeremy. I feel silly.
Any idea why the images in carousel are larger when viewing from a tablet in portrait mode?
It doesnt affect use too much, but I’ve been wondering why.
And are there any resources for theme developers to make sure their themes support Jetpack functionality?
Regards.
I commented out any queued scripts (there was only one) in my functions.php. I also commented out the enqueue of jQuery in header.php.
I just tried a reinstall of the Jetpack plugin, and no dice.
Any idea why Jetpack is creating an inline top offset that is so large? I can’t figure out what sets off this behavior. The style is inline, so there is no way for me to override it, either (without hacking through JS of course).
The only things I can think of are:
1) An element that affects the slide’s flow (which there shouldn’t be)
or
2) Something is tricking the javascript into thinking the viewport is larger than it really is.
3) Aliens.No, it is not replicated in TwentyTwelve.
But my theme does not have any rules that should override the styling of the carousel.
The result persists with all plugins (besides jetpack) disabled.
I have a screenshot with the debug frame open.
Edit:
The selected carousel has a computed style of “top: 573px;”
<div class="jp-carousel-slide selected" style="position: relative; left: 0px; width: 1023px; height: 767px; top: 573.8249999999999px; -webkit-transform: translate3d(441px, 0, 0);"><img src="http://guiltyxindoc.com/media/P1011355.jpg"></div>