I mostly use a toggle TOC button as well. My workaround is to replace tje
default icons by a shape in the background color since there is no way to
Yeah that's what I was thinking I'd have to do. Unfortunately if I have a picture filling the screen on a slide it is hard to cover it up. However that looks like my only option I think.
You could also replace them with a transparent GIF or PNG file. Then the buttons would be invisible to the user.
Ahhh of course. Good thinking Rod.
I always include a custom css file with my project that hides the buttons.
var tocBtns = document.getElementsByClassName( 'tocExpandCollapse' )
tocBtns[ 0 ].style.visibility = 'hidden';
tocBtns[ 1 ].style.visibility = 'hidden';
I replaced the image with a transparent png and it shows as a white box when viewing in mobile. Any ideas how to make it actually transparent?
Thanks in advance,
Did you try a transparent GIF instead. PNGs might be the problem in your case. Also, try using a different bit depth of PNG. Was it a 24bit or 36bit PNG?
If no PNG or GIF file works then you might need to use Daves CSS method mentioned earlier in this thread.