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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.