fuchsiapowers Posted April 29, 2020 Share Posted April 29, 2020 Site URL: https://www.rachaelwoodson.com/ Hello! I am having trouble finding information on removing the light blue border that appears when inline image blocks are clicked on. These images are set to open in lightbox mode, but the blue border remains after exiting out of the lightbox view. Any ideas on how to remove this unwanted border site-wide would be greatly appreciated! Thanks! Link to comment
derricksrandomviews Posted April 29, 2020 Share Posted April 29, 2020 Looks like the padding around the images needs to be adjusted in Wells style tweaks. Link to comment
fuchsiapowers Posted April 29, 2020 Author Share Posted April 29, 2020 Hi! Thanks for you reply. I don't see anywhere in site styles where image blocks can be tweaked. There is just 'outer padding' and 'sidebar padding' but nothing specific to the images. Any other ideas for solving this problem are appreciated! Thanks, Rachael Link to comment
tuanphan Posted April 30, 2020 Share Posted April 30, 2020 Add to Home > Design > Custom CSS .image-block *:focus { outline-color: transparent; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
fuchsiapowers Posted April 30, 2020 Author Share Posted April 30, 2020 Hello tuanphan! Thanks for your reply. I tried this in custom CSS and the outline has turned from blue to gray, but is still there. Strange! Do you have any other ideas? Thanks! Rachael Link to comment
fuchsiapowers Posted April 30, 2020 Author Share Posted April 30, 2020 So I adapted your code to the following, it seems to work now! .image-block *:focus { outline: none ; } Thank you! Link to comment
paul2009 Posted April 30, 2020 Share Posted April 30, 2020 On 4/29/2020 at 8:55 AM, fuchsiapowers said: I am having trouble finding information on removing the light blue border that appears when inline image blocks are clicked on. @fuchsiapowers I don't recommend removing these borders, as you will be disadvantaging visitors with disabilities. You may not know this but the border (usually blue) is an accessibility feature for visitors with disabilities. As they tab through clickable elements on a web page, the browser adds the border so they know which element has focus. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.