Change Background to Black _only_ in full screen view
Lichtrausch
Registered Users Posts: 10 Big grins
Hi everybody,
as far as I understand, what I want to do is only possible with custom code (please correct me if I am wrong...).
Here's my problem: My site has a white background. When viewing my images in full screen or slideshow mode, I get white bars on the left and right sides (or on top and on bottom) if the aspect ratio of the image doesn't match the screen. This is quite annoying if I want to showcase my images on a 4K TV or on a beamer; it would be much nicer and less distracting to get black bars (just like the ones we're all used to when watching movies) instead of white ones. Is there any way to do this without changing the background color of the whole site to black?
Thanks for any help,
Andreas
as far as I understand, what I want to do is only possible with custom code (please correct me if I am wrong...).
Here's my problem: My site has a white background. When viewing my images in full screen or slideshow mode, I get white bars on the left and right sides (or on top and on bottom) if the aspect ratio of the image doesn't match the screen. This is quite annoying if I want to showcase my images on a 4K TV or on a beamer; it would be much nicer and less distracting to get black bars (just like the ones we're all used to when watching movies) instead of white ones. Is there any way to do this without changing the background color of the whole site to black?
Thanks for any help,
Andreas
Tagged:
0
Comments
A link to your site/gallery will may help. I don't have a '4K TV' and I have no idea what a 'beamer' is though.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I think the question is pretty general, though. Is nobody else annoyed by the fact that you get white bars left and right (or on top and on bottom) of your images when viewing them full screen? O.o
Thanks again for any help...
@Hikin' Mike a "beamer" is a projector - not the thing Scotty used on the Enterprise
@Lichtrausch: I don't get white bars for my site...simply because it is on a black background anyway
Thanks for the clarification, that's the word! (Germans have a strang habit of misusing English words, like "handy" for mobile phone...)
> @Lichtrausch: I don't get white bars for my site...simply because it is on a black background anyway :wink:
That's an option of course. Still, it would be nice to be able to have a white background on the whole site but not in full screen view...
I looked at your home page and I didn't see any white bars on your slideshow when viewing them full screen.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
One of the stupid rules about this new forum software. You don't have enough post-counts to post links and photos. Stupid for a photo forum...
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I just noticed a very strange thing: If I click on full screen view in one of my galleries, I get the white bars as described. If I click on the full screen button for my homepage slideshow, I get black bars (= the behavior I would like to see everywhere).
You can always post your site URL as text. If pure text doesn't work (without the http://) then post the site link as text like this:
That will at least allow the helpers here to look at your site.
Musings & ramblings at https://denisegoldberg.blogspot.com
Here is a screenshot:
https://www (dot) dropbox (dot) com/s/ywo9q9yxsfo185p/Bildschirmfoto%202017-10-02%20um%2010.04.05.jpg?dl=0
The image is displayed on a white background in full screen view, so I have white bars left and right of the image (the navigation elements disappear if I don't move the mouse, of course). Is there any way to display the image on a black background while keeping the rest of my site on a white background?
I see know. You need this: Customizing the SmugMug Lightbox
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks you so much, that was very helpful...
There are only two things that would make it even greater:
1. Is it possible to only affect the full screen background and not the "normal" lightbox?
2. Is it possible to make the background of the bottons transparent?
Thanks so much for your help...
For the background of your buttons try this:
This could to the trick.
And yes, I know of the German inventions when it comes to "English sounding words" - I am passport German.
Good luck.
Lille Ulven
Thank you so much... Works as intended. Transparant background on the buttons looks so much nicer... :-D
Hmmm... One side effect seems to be that my social icons (Facebook and 500px) no longer work, they seem to be displayed now "white on white" so that you can click them but cannot see them... O.o
I disabled this and I'm still not seeing your Social Icons:
That code will make EVERYTHING white. If you want to ONLY show those fonticons (icons) on your lightbox, then you need to use the code I posted above:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk