Custom buttons lightbox
Galorbe
Registered Users Posts: 16 Big grins
Hello.
I am French, I speak very little English, but I'm optimistic :-)
Following your advice (thank you again), I managed to change the background color of my lightbox (white => dark). Only now, the "<" ">" "buttons Esc ..." out too. I would remove the bottom (gray) buttons to keep only the arrows or "esc".
How can I do this?
Thank you to you.
url : www.galorbe.com
("Bonjour.
Suite à vos conseils (merci encore), j'ai réussi à changer la couleur de fond de ma lightbox (blanc => sombre). Seulement maintenant, les boutons "<" ">" "Echap..." ressortent trop. J'aimerais supprimer le fond (gris) des boutons pour ne garder que les fleches ou "echap".
Comment puis je faire ceci ?
Merci à vous.")
I am French, I speak very little English, but I'm optimistic :-)
Following your advice (thank you again), I managed to change the background color of my lightbox (white => dark). Only now, the "<" ">" "buttons Esc ..." out too. I would remove the bottom (gray) buttons to keep only the arrows or "esc".
How can I do this?
Thank you to you.
url : www.galorbe.com
("Bonjour.
Suite à vos conseils (merci encore), j'ai réussi à changer la couleur de fond de ma lightbox (blanc => sombre). Seulement maintenant, les boutons "<" ">" "Echap..." ressortent trop. J'aimerais supprimer le fond (gris) des boutons pour ne garder que les fleches ou "echap".
Comment puis je faire ceci ?
Merci à vous.")
0
Comments
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thank you for your help, unfortunately it does not work, there is no change. I'll try to explain what I want:
Currently, I see the navigation buttons like this:
And I'd like to see here:
I took pictures because my English is very bad, and google translation limits;-)
Ie only see the arrows, without the frame around.
Same for the exit button.
A big thank you again for your help.
(I use the new smugmug)
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!
Try this to change the arrow background:
This changes the arrows:
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 get depressed ....
I looked at your site and I don't see the gray border.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
A huge thank you to you, actually, I could not find it myself!
merciiiiii !!!! :-)
I'm not a "people photographer", but you have some nice images on your site.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
http://www.k-ophotography.com/
I need a link to your site, or a link to your gallery. I'm not seeing a shadow on my site.
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 realized that I only see the shadow in Chrome (not Firefox or Safari, and I haven't yet checked IE). Basically I would like to change the shape of the lightbox navigation, close, and full-screen buttons into circles (to match other buttons on my site), or at least keep the rounded edges, without the rectangular shadow popping up when a button is clicked. Or, alternatively, to keep the shadows but have them fit/match whatever shape I have set for the buttons. Here's a screenshot of how it looks in Chrome:
I also realized that some of the changes I tried to make to the lightbox don't appear at all in Firefox (customized shape, margins and regular/hover color of buttons, hover color for icons, and custom background, etc.) Is there some code I can add that will make these changes appear in Firefox?
Thanks again!
-Rob
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
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 for your reply! I'm not sure I understand what you mean by: "I had to re-size my monitor to see this..." Did you mean that the sizing of my site looks off on your screen?
I had just checked on another computer (Windows) in Chrome and also so the rectangular shadow when clicking on the navigation arrow, but it was blue rather than grey like on my laptop.
Thanks again, Mike)
Yes, I have a smaller monitor than you.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
.sm-lightbox .sm-lightbox-nav .sm-button:focus {
outline: none;
}
However, it appears that this outline is there in Chrome so that viewers that have disabilities and aren't able to use a mouse can use just the keyboard and tab to the button they need, so this is really not a great solution. I'm not sure how to change the focus so that it fits the shape of the button, so if anyone has any suggestions, I'll be happy to hear them :^) Here's the link to the site I got this info from:
http://stackoverflow.com/questions/20340138/remove-blue-border-from-css-custom-styled-button-in-chrome
Thanks again Mike, your time is greatly appreciated and your suggestions have been a really great help to me. A couple of days ago I briefly checked what my site looked like on a computer that I think was using XP and I cringed, so I hope you won't judge me too harshly) I'm definitely finding it difficult to keep everything looking the way I'd like it to on the many variations of browsers and screen sizes!
-Rob
It could be a IE issue and not XP. I use XP with the latest FF, and I didn't see any issues as far as 'cringing'. I know older versions of IE are terrible.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Also, I still haven't figured out why most the changes I was trying to do in the lightbox don't seem to show up at all in Firefox. Anyone have a suggestion?
Mike: True. Yeah, now that I think about it, it was probably an IE thing. Thank you again, Mike.
I agree. I left a comment on your site just now. I wish you'd allow your photos' exif information available to be read. I'd love to know what gear you used in some of the shots.