SOLVED: Border color tansition in builder's hover state may not show

Bricks Version: 1.6.2
Browser: Chrome
OS: Windows 11
URL: https://tinyquick.com

I have a grid of images with white borders that change to a color on mouse hover. The first image in the grid does not show the color in the builder. It works fine on the front-end.

It is due to the builder writing the declaration at the top of the block, rather than at the bottom. The normal declaration overrides it. The other blocks have the declaration written at the bottom of the block.

See screenshot:

Hey,
Thanks so much for your report!

I cannot reproduce it using the current dev version. Can you provide me with a template containing the issue?

Best regards,
timmse

Check email for template, plus the login to the website with the problem.

Thanks for the login credentials. Looking at your site, the styles show as expected.
No duplicated border-color on #36546e and the hover border color shows on :hover :thinking:

Maybe the issue is related to this issue we’re currently working on, I’m not sure because I cannot see it :smiley:

It works if you hover over it with the mouse. When you select Hover State in the builder, it will show all the hover effects. In this case it shows all the border colors except the upper left border.

hoverstateshown

Thanks for the clarification, now I got it! :raised_hands:

Interesting: In my test, it gets added at the end. Maybe it’s due to a different order in adding the styles. Seems to be a marginal case.

CleanShot 2023-02-09 at 11.31.48@2x

Edit: Yep, if you add the default style first and after that the :hover, it’s working as expected. For me, this is the logical sequence, but it may well be that some users do it the other way around :slight_smile:

Hi guys,

We’ve improved this in Bricks 1.11 BETA, now available as a manual download (Bricks – Account)

Please let us know if you are still experiencing issues.

You can see the full changelog here: Bricks 1.11 Changelog – Bricks

As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.

Best regards,
Matej