Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Disabling the gallery auto-slideshow on Mobile

Old Dec 16, 2012, 06:41 PM
6 posts · Oct 2012

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:

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?

Old Dec 16, 2012, 07:23 PM
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.


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 10:59 AM
Gallery plugin with slideshow/thumbnail navigation instead of lightbox bswb97 Plugins & Atahualpa 3 May 10, 2012 04:29 AM
Centering a gallery or slideshow with NextGen yukoner Center area post/pages 2 Mar 29, 2012 08:18 AM
[SOLVED] Help - slideshow gallery pro on atahualpa leonn Atahualpa 3 Wordpress theme 9 Nov 8, 2011 06:17 AM

All times are GMT -6. The time now is 05:02 PM.

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