SOLVED: Border color added by default by Bricks

Bricks Version: 1.6.2
Browser: Chrome and Firefox latest
OS: Windows

Each time I set a value (static or variable) inside the border-radius in the editor, Bricks adds a solid light gray border by default, as illustrated in the image below.
It happens on buttons, images, divs, spans, basically on every element, on the id level or a class it doesn’t matter.

The only fix I found so far is to add the border radius through the root class in a css panel, the one from the element itself or even a parent, both works.

2 Likes

Hi @webtools ,

Thanks for reporting this issue.
I am able to replicate this and already recorded it in the bug tracker.

Regards,
Jenn

1 Like

Glad I can help !
Franck.

Hi,
We’ve fixed this bug in Bricks 1.7 beta, now available as a manual download in your Bricks account: Account – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like

Hey @timmse,

Indeed, it’s fixed !
Thanks for the hard work.
Franck.

I’ve just switched to the 1.7 beta and I’m getting this bug again… I’ve setup borders in the builder and it’s ignoring that and showing a light grey. It’s also ignoring the animations that I’ve put on the borders (thickness was changing on hover before update). It’s behaving normally in the builder, just not working on the front end.

Hi Jack,
Welcome to the forum, and thanks so much for your report!

Can you provide me with a live link that shows the issue?

Best regards,
timmse

I am getting this on form elements (input text)? 1.7.3

Can you provide me with a live link that shows the issue?

I am getting this too. It appears that Bricks sets:

  • {
    border-color: var(–bricks-border-color);
    }

here is an example. If you click on one of the frequently asked question accordions you get a gray border: #1 Lake Como Elopement Packages - Sublime Weddings For 2!

Hi Jules,
The border you see is the :focus outline, which is there for accessibility reasons.

You can disable it within your theme styles » typography » miscellaneous, or add a separate :focus pseudo class for the accordion titles.

Exactly the answer I needed. Thanks!

Hi! I am seeing the same border. Could I be doing something wrong?

My Bricks version is 1.9.7.1

Thanks in advance

Hi Alejandro,
Welcome to the forum. Yes, the default border color is still there and can be overridden in the Theme Styles but do not apply automatically if you add a border-radius, which this report was about. What exactly is the problem in your case? :slight_smile:

Hi Stefan, thanks for your prompt reply.

I was having the default border show up on a nested block inside a header I was working on. Tried many things (including refreshing the page and manually changing the border radius) and nothing happened. Then, I deleted the divs and started from scratch, and the border still kept showing up, but then I refreshed the page again and the border disappeared and has been working okay since. May have been a bug?

Thanks again!

Can you record a screencast if it happens again? Otherwise, I don’t know how to replicate the issue :thinking:

Hi @timmse - how do we disable the default blue outline on form input focus? The typography one works, but I don’t see the same Focus outline option to set to “none” there.