Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Disabling the gallery auto-slideshow on Mobile


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 16, 2012, 05:41 PM
bangert
 
6 posts · Oct 2012
Hi

I've managed to disable the gallery auto-slideshow on the theme, at least when your browsing from a laptop/pc. When browsing using a mobile, the auto-slideshow is on.

I disabled by commenting out this in get_javascript.php:

Code:
/*
if( jQuery().colorbox ) {
	$('.gallery figure a span').colorbox({rel: 'gal', slideshow: false, slideshowSpeed: 3500, opacity: 0.7, href: function(){
		 var src = $(this).prev('img').attr('src').replace( /-\d+x\d+./, '.' ); // full src = remove '-150x150' from thumb src
		 return src;
	}});
}
*/
How do I do the same for the mobile version of the theme?

Thanks.
  #2  
Old Dec 16, 2012, 06:23 PM
bangert
 
6 posts · Oct 2012
Seems to have sorted itself now. About 8hrs later the mobile version of the theme has caught up with the changes on it's own.

Anyhow, no help needed. Thanks.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] remove automatic gallery slideshow baignoire Montezuma Theme 10 Oct 19, 2012 09:59 AM
Gallery plugin with slideshow/thumbnail navigation instead of lightbox bswb97 Plugins & Atahualpa 3 May 10, 2012 03:29 AM
Centering a gallery or slideshow with NextGen yukoner Center area post/pages 2 Mar 29, 2012 07:18 AM
[SOLVED] Help - slideshow gallery pro on atahualpa leonn Atahualpa 3 Wordpress theme 9 Nov 8, 2011 05:17 AM


All times are GMT -6. The time now is 11:07 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.