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 2018-10-20 01:33:06

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

Removing Thumbnails Button from Slideshow Photo Presentation

I am trying to hide the thumbnails button in the toolbar at the top of the default slideshow presentation. If I look at the fullscreen button in the toolbar the code that declares the display as an inline block is associated with the fancybox-button so I can override its display with custom css. The thumbnails button declares the display as an inline block directly in the class definition so is there still a way to override this?

Is this a coding oversight as it is also declared as an inline block through the fancybox-button definition?

Thanks

Offline

#2 2018-10-20 08:36:59

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

what about this:

.fancybox-button--thumbs {
		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

#3 2018-10-21 00:00:11

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

Rod,

This works on the other buttons in the toolbar but not on the thumbnails button which is declared like this

<button data-fancybox-thumbs="" class="fancybox-button fancybox-button--thumbs" title="Thumbnails (G)" style="display: inline-block;"></button>

Because the display: inline-block is declared within the element I don't see a way to override it. I think this may be a coding oversight as the inline-block is not declared in the element for the other buttons.

Offline

#4 2018-10-21 08:33:00

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

It worked for me in the inspector, adding that code to the end of my custom css file. But you can always add !important to override inline styling.


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

Offline

#5 2018-10-21 23:48:56

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

Rod,

Thanks for the !important recommendation. That solves my issue on Firefox and Safari, but does not seem to work on Chrome. I'm on the very latest version of Backlight 2 if that makes a difference.

Looking through the forum I notice that you have provided a lot of great help. Thank you again!

Offline

#6 2018-10-22 04:35:04

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

There's no reason !important wouldn't work in Chrome. Trying clearing the browser cache. And it's not an oversight here; near as I can tell, it's just something Fancybox does. I have to assume there's some reason for it, or a context in which it is important.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2018-10-22 07:02:42

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

Matthew,

Thanks for the response. Clearing the cache took care of it. Sorry to bother you with this and thanks for the great product.

Offline

#8 2019-01-21 10:08:37

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

charles101 wrote:

I am trying to hide the thumbnails button in the toolbar at the top of the default slideshow presentation ...

This will be supported in the next update. Along with options to customize the background and highlight of the thumbnails pallet.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2019-01-21 11:15:09

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

Re: Removing Thumbnails Button from Slideshow Photo Presentation

Thanks for the update. It's custom css for now.

Offline

Board footer

Powered by FluxBB