jjsereday
Forum Replies Created
-
I have a feeling it has something to do with Visual Composers columns. If I keep VC plugin turned on and create a gallery but don’t use the VC shortcodes it still works.
I have a different theme for another site which uses a modified version of Visual Composer and I do remember there being an issue with the jet pack tile gallery and using short codes like tabs where only the first tab would show the gallery but the second and third tab would not show any additional galleries.
Their solution was to trigger a “resize” in the init.js file (heres the code)
$tabbedClickCount++;
and add this in directly after:$(window).trigger('resize');
Do you think we need to add a resize trigger for visual composer columns or rows?
Thanks
Hey Jeremy, yes it has it. The Theme works fine on Mobile when the gallery is not inside a Visual Composer post.
This is the Themes function file code for content_width
* @global int $content_width
*/
function wpvoyager_content_width() {
$GLOBALS[‘content_width’] = apply_filters( ‘wpvoyager_content_width’, 1260 );
}
add_action( ‘after_setup_theme’, ‘wpvoyager_content_width’, 0 );if ( ! isset( $content_width ) ) $content_width = 1260;
/**Ok try again. ??
Hi I know this was marked resolved but I too am having a similar issue.
Here is a link to show the issue:
https://whereis.jsaying.com/2017/01/31/1140/When looking at the code I also saw the tiled-gallery-resized class used on mobile. Im trying to figure out what is causing it to include that class because it makes the Tiled Gallery show full size and then get cut off with the overflow.
Any help is greatly appreciated – thanks!
JJ