Jetpack doesn't properly parse content_width value
-
Hi,
I am using the Avada theme (3.6.2) which sets a content_width of “669px” in it’s functions.php. While this is working good for most of my site, it’s causing issues if I am using the tiled mosaic gallery function. In that case, the gallery isn’t responsive on mobile phones or when you shrink the browser size on normal desktop PCs. Instead of the images getting shrinked, so they fit in the screen, the gallery gets cut off on the right side and you don’t even have a possibility of scrolling to the right to view the rest, since the rest of the site is responsive.
According to the Avada developers the reason is that the Jetpack plugin doesn’t properly parse the content_width value, when it’s NOT an integer, but a string value (e.g. including “px”). When I remove the “px” the gallery is fully responsive. So can you fix that for the next version?
- The topic ‘Jetpack doesn't properly parse content_width value’ is closed to new replies.