Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter stasKanevsky

    (@staskanevsky)

    Plugin Author Sayontan Sinha

    (@sayontan)

    Photonic will pick up the color from your theme. If you want to change this, you will have to add something like this to your theme’s style.css:

    #swipebox-title a {
        color: #fff;
    }
    Thread Starter stasKanevsky

    (@staskanevsky)

    Thanks! Used inspector to pinpoint this same thing for colors ??

    But how do I add the title to mobile view..any ideas?

    Plugin Author Sayontan Sinha

    (@sayontan)

    Interesting… I never realized this. Apparently there is a setting in Swipebox that does this. I did a bit of googling and found a fix (somewhat). You can look for this code in photonic.js:

    if ($j.swipebox) {
    		$j('a.launch-gallery-swipebox').swipebox({
    			hideBarsDelay: 0
    		});
    	}

    Change it to this:

    if ($.swipebox) {
    		$('a.launch-gallery-swipebox').swipebox({
    			hideBarsDelay: 0,
    			removeBarsOnMobile: false
    		});
    	}

    Let me know if this works.

    Plugin Author Sayontan Sinha

    (@sayontan)

    … Or, just download the most recent version. There is a setting under Photonic → Settings → Generic Options → Lightbox Library settings that can turn this on for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding a title to swipe box’ is closed to new replies.