Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-01-21 09:28:48

charles101
Member
Registered: 2016-10-15
Posts: 22

Fancybox navigation arrow appearance

I would like to minimize the visual appearance of the navigation arrows on the fancybox slideshow. At the moment I am trying to eliminate the box around the arrows. The settings for the UI background color for the slideshow do not seem to have any effect on the boxes around the arrows. Is there a way to make the boxes around the arrows transparent?

Thanks.

Offline

#2 2019-01-21 09:32:24

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Fancybox navigation arrow appearance

Custom CSS, I guess. The problem is, without the box, the white arrows would disappear against high-key images. The box ensures their visibility.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2019-01-22 15:11:24

skipper
Member
Registered: 2013-04-26
Posts: 121

Re: Fancybox navigation arrow appearance

I would like to get rid of the navigation arrows all together when displayed in vertical position on a smart phone, since they overlap every image and just look annoying to me. I mean every smart phone and tablet user knows by now, that you can just swipe through a series of pictures, I think there is no need to display the arrows on those devices?

Also, I would like the slideshow to start as soon as I click on a thumbnail and it opens the fancybox. Right now it seems to me that I always have to hit the play button manually. I would rather have it start automatically and have the user hit the stop button, if they want to.

Last thing: What does the

Downloads-> Source

do? I thought setting it to "disabled" hinders a user from downloading the large image, but that is not the case. A bit more insight on that would be appreciated.

Offline

#4 2019-01-22 16:24:15

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Fancybox navigation arrow appearance


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2019-01-23 01:37:39

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Fancybox navigation arrow appearance

I would like to get rid of the navigation arrows all together when displayed in vertical position on a smart phone

Try putting this in an appropriate media query:

.fancybox-navigation {
	display: none;
}

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2019-01-23 04:37:19

charles101
Member
Registered: 2016-10-15
Posts: 22

Re: Fancybox navigation arrow appearance

Rod,

For my own knowledge (and possible use) - where or how do you use this CSS so it is enabled when the user device is a phone or tablet but not when the user device is a computer?

Thanks.

Offline

#7 2019-01-23 05:50:47

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Fancybox navigation arrow appearance

on enabling and using custom css: http://backlight.theturninggate.net/doc … tylesheets

on media queries: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp

I generally just use max-width and set it for the width of devices I'm targeting. An ipad in landscape is 1024px wide, for instance.

One reason I like doing this is that it works and I can also more easily test it on the desktop by just changing the width of the browser window

But if you want to target actual devices, use device-width to limit it to the actual width of a device
https://css-tricks.com/snippets/css/med … d-devices/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2019-01-23 12:35:24

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Fancybox navigation arrow appearance

Of course, let it be known that enacting styling rules based on screen width does not guarantee the device will have gesture support. I strongly advise against hiding your navigation. Or that your user will have the physical faculties necessary to use gestures, even if the device supports them.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB