Bug: Adjusting color of unlinked-border on header results in JS error

Hello! I get this error when trying to add a single bottom border when specifying that the bottom border of the header’s bar should be black:

cs.js?ver=2.1.7:57249 Unable to resolve color: rgb(0,0,0) transparent hsl(0,30%,12%) transparent Error: Unable to parse color from string: rgb(0,0,0) transparent hsl(0,30%,12%) transparent

at new Color (cs-vendor.js?ver=2.1.7:58824)
at Color (cs-vendor.js?ver=2.1.7:58799)
at validateColor (cs.js?ver=2.1.7:57247)
at Class.lookupColor (cs.js?ver=2.1.7:57272)
at Class.color (cs.js?ver=2.1.7:44275)
at cs.js?ver=2.1.7:44290
at String.replace ()
at Class.stylePostProcess (cs.js?ver=2.1.7:44288)
at cs.js?ver=2.1.7:61457
at cs.js?ver=2.1.7:33594

I’ve set the other borders to be 0px in width and transparent. Seems there’s some code failure to take in that first HSL percentage.

EDIT: I get the same error when doing RBGA 0 0 0 0 for the other borders:

cs.js?ver=2.1.7:57249 Unable to resolve color: hsla(0,0%,0%,0) hsla(0,0%,0%,0) hsl(0,30%,12%) hsla(0,0%,0%,0) Error: Unable to parse color from string: hsla(0,0%,0%,0) hsla(0,0%,0%,0) hsl(0,30%,12%) hsla(0,0%,0%,0)
at new Color (cs-vendor.js?ver=2.1.7:58824)
at Color (cs-vendor.js?ver=2.1.7:58799)
at validateColor (cs.js?ver=2.1.7:57247)
at Class.lookupColor (cs.js?ver=2.1.7:57272)
at Class.color (cs.js?ver=2.1.7:44275)
at cs.js?ver=2.1.7:44290
at String.replace (<anonymous>)
at Class.stylePostProcess (cs.js?ver=2.1.7:44288)
at cs.js?ver=2.1.7:61457
at cs.js?ver=2.1.7:33594
validateColor @ cs.js?ver=2.1.7:57249
lookupColor @ cs.js?ver=2.1.7:57272
color @ cs.js?ver=2.1.7:44275
(anonymous) @ cs.js?ver=2.1.7:44290
stylePostProcess @ cs.js?ver=2.1.7:44288
(anonymous) @ cs.js?ver=2.1.7:61457
(anonymous) @ cs.js?ver=2.1.7:33594
invoke @ cs-vendor.js?ver=2.1.7:1335
flush @ cs-vendor.js?ver=2.1.7:1399
flush @ cs-vendor.js?ver=2.1.7:1207
end @ cs-vendor.js?ver=2.1.7:521
run @ cs-vendor.js?ver=2.1.7:643
(anonymous) @ cs-vendor.js?ver=2.1.7:941
setTimeout (async)
debounce @ cs-vendor.js?ver=2.1.7:939
run.debounce @ cs-vendor.js?ver=2.1.7:24619
(anonymous) @ cs.js?ver=2.1.7:33570
applyStr @ cs-vendor.js?ver=2.1.7:25317
sendEvent @ cs-vendor.js?ver=2.1.7:19751
notifyObservers @ cs-vendor.js?ver=2.1.7:23683
propertyDidChange @ cs-vendor.js?ver=2.1.7:23500
notify @ cs-vendor.js?ver=2.1.7:18315
chainsDidChange @ cs-vendor.js?ver=2.1.7:23598
propertyDidChange @ cs-vendor.js?ver=2.1.7:23499
set @ cs-vendor.js?ver=2.1.7:23893
incrementProperty @ cs-vendor.js?ver=2.1.7:37031
hasChanged @ cs.js?ver=2.1.7:44511
valueUpdated @ cs.js?ver=2.1.7:45088
applyStr @ cs-vendor.js?ver=2.1.7:25317
sendEvent @ cs-vendor.js?ver=2.1.7:19751
ObserverSet.flush @ cs-vendor.js?ver=2.1.7:23097
endPropertyChanges @ cs-vendor.js?ver=2.1.7:23626
_notifyProperties @ cs-vendor.js?ver=2.1.7:142232
setupData @ cs-vendor.js?ver=2.1.7:141070
_load @ cs-vendor.js?ver=2.1.7:148274
_pushInternalModel @ cs-vendor.js?ver=2.1.7:148548
push @ cs-vendor.js?ver=2.1.7:148495
modelUpdate @ cs.js?ver=2.1.7:43906
sendEvent @ cs-vendor.js?ver=2.1.7:19757
trigger @ cs-vendor.js?ver=2.1.7:36037
processJob @ cs.js?ver=2.1.7:63666
(anonymous) @ cs.js?ver=2.1.7:63671
run @ cs-vendor.js?ver=2.1.7:639
run @ cs-vendor.js?ver=2.1.7:24068
_xfrOnMessage @ cs.js?ver=2.1.7:63669

Hi there,

Would you mind providing the URL and the admin access to your site in a Secure Note so that we can check it?

Thank you.

This is localhost, no way to face it outside as far as I know. But it should really be easy to replicate… Create a header, add a bar, set the border to unlinked, try adjust the color of one of the sides…

Hello There,

Thank you for your clarification. Please be informed that there is a known bug issue when setting a border and border color of the element. At the moment, setting a border for individual sides (top, bottom, left and right) does not work. Our developers is already made aware of this issue and already making sure that this will be fixed and updated when we roll out our next release update.

Please bear with us.

1 Like

Thanks! Glad y’all know about it.

You’re welcome :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.