Just some quick styling to improve color contrast within the builder.
Just a quick overview of my Etch interface resting. As I get older, contrast becomes increasingly important, so my adjustments focus on it. I initially did some color changes, but the revised interface is much better in that respect. In my case, code is added to the wpCodeBox, and a location rule of URL contains “/?etch=magic”.
Updated Feb 3, 2026: I have since added a nice color coding option from Luke Wakefield and moved the template button to the top of the options in the left toolbar.
Updated April 13, 2026: I have added modified variables to improve the visibility of the new component interface.
Update April 16, 2026: Added styling for the mini-GUI. As well as Luke Wakefield’s “wrap in” update that highlights the loop, condition, and insert icons as well as the contextual menu.
Update March 25, 2026: Add larger, more colorful repeater and preview toggles.


The CSS
I just added this to wpCodeBox.
:root
.etch-css-toolbar-toggle--active
.right-click-menu__content
.etch-builder-accordion__item:has(
> .etch-builder-accordion__header--condition
)
.icon-wrapper:not(.etch-builder-accordion__quick-actions .icon-wrapper) svg
.icon-wrapper:not(.etch-builder-accordion__quick-actions .icon-wrapper)
.icon-wrapper:not(.etch-builder-accordion__quick-actions .icon-wrapper):hover
.etch-label
.css-input-tabs
.component-button.etch-builder-button
.etch-css-toolbar-toggle
/* =========================================================
Etch Structure Panel: Colour-coded tag markers
========================================================= */
.etch-builder-structure-wrapper .etch-builder-accordion__header
.etch-builder-structure-wrapper .etch-builder-accordion__header::after
.etch-builder-structure-wrapper
.etch-builder-accordion__header.etch-tag--selected
.etch-builder-structure-wrapper .etch-builder-accordion__header:hover
.etch-builder-structure-wrapper
.etch-builder-accordion__header.etch-tag--selected
/* move the template button to the top the ID can change base on what is instlled */
#bits-c7
.media-router .media-menu-item,
.media-frame-content,
.media-button
.etch-builder-icon-switch__thumb
.etch-builder-icon-switch__root
/* =========================================================
Luke's contextual menu update
========================================================= */
/* Element Menu (Bottom Bar) */
.element-menu > button[aria-label='Add loop block'],
.element-menu > button[aria-label='Add condition block'],
.element-menu > button:last-of-type
.element-menu > button[aria-label='Add loop block']:hover,
.element-menu > button[aria-label='Add condition block']:hover,
.element-menu > button:last-of-type:hover
.element-menu > button[aria-label='Add loop block']
.element-menu > button[aria-label='Add condition block']
.element-menu > button:last-of-type
/* Right Click Menu */
div[textvalue='Wrap in Div'],
div[textvalue='Wrap in Condition'],
div[textvalue='Wrap in Loop']
div[textvalue='Wrap in Div'] .right-click-menu__item-label::before,
div[textvalue='Wrap in Condition'] .right-click-menu__item-label::before,
div[textvalue='Wrap in Loop'] .right-click-menu__item-label::before
div[textvalue='Wrap in Div']
div[textvalue='Wrap in Condition']
div[textvalue='Wrap in Loop']
:root
.etch-css-toolbar-toggle--active
.right-click-menu__content
.etch-builder-accordion__item:has(
> .etch-builder-accordion__header--condition
)
.icon-wrapper:not(.etch-builder-accordion__quick-actions .icon-wrapper) svg
.icon-wrapper:not(.etch-builder-accordion__quick-actions .icon-wrapper)
.icon-wrapper:not(.etch-builder-accordion__quick-actions .icon-wrapper):hover
.etch-label
.css-input-tabs
.component-button.etch-builder-button
.etch-css-toolbar-toggle
/* =========================================================
Etch Structure Panel: Colour-coded tag markers
========================================================= */
.etch-builder-structure-wrapper .etch-builder-accordion__header
.etch-builder-structure-wrapper .etch-builder-accordion__header::after
.etch-builder-structure-wrapper
.etch-builder-accordion__header.etch-tag--selected
.etch-builder-structure-wrapper .etch-builder-accordion__header:hover
.etch-builder-structure-wrapper
.etch-builder-accordion__header.etch-tag--selected
/* move the template button to the top the ID can change base on what is instlled */
#bits-c7
.media-router .media-menu-item,
.media-frame-content,
.media-button
.etch-builder-icon-switch__thumb
.etch-builder-icon-switch__root
/* =========================================================
Luke's contextual menu update
========================================================= */
/* Element Menu (Bottom Bar) */
.element-menu > button[aria-label='Add loop block'],
.element-menu > button[aria-label='Add condition block'],
.element-menu > button:last-of-type
.element-menu > button[aria-label='Add loop block']:hover,
.element-menu > button[aria-label='Add condition block']:hover,
.element-menu > button:last-of-type:hover
.element-menu > button[aria-label='Add loop block']
.element-menu > button[aria-label='Add condition block']
.element-menu > button:last-of-type
/* Right Click Menu */
div[textvalue='Wrap in Div'],
div[textvalue='Wrap in Condition'],
div[textvalue='Wrap in Loop']
div[textvalue='Wrap in Div'] .right-click-menu__item-label::before,
div[textvalue='Wrap in Condition'] .right-click-menu__item-label::before,
div[textvalue='Wrap in Loop'] .right-click-menu__item-label::before
div[textvalue='Wrap in Div']
div[textvalue='Wrap in Condition']
div[textvalue='Wrap in Loop']
CSSThe JS for color labels
(() => )();
(() => )();
JavaScript
Leave a Reply