Unlimited Elements Error: Widget "Vertical Productcategory navigation" Error: Unexpected token "name" of value "if" ("end of statement block" expected) in "html" at line 9.
Description….
.woocatnav {
border-radius: var(--border-radius-m);
background: #E4EAFF;
padding: var(--spacing-m);
&__title {
color: var(--color-primary);
margin-bottom: var(--spacing-s);
}
&__scroller {
overflow: auto;
max-height: 600px;
}
}
#woocatnav {
list-style: none;
padding: 0;
margin: 0;
ul,
ul li {
list-style: none;
padding: 0;
margin: 0;
position: relative;
cursor: pointer;
}
li ul {
border-left: 4px solid #CBD6FF;
padding-left: 1rem;
margin-bottom: 1rem;
}
li a {
padding: 8px 0;
}
.expanded a {
color: var(--color-primary);
}
> li {
border-top: 1px solid #CBD6FF;
}
> li.has-children {
cursor: pointer;
position: relative;
&:after {
content: "";
background: transparent url('data:image/svg+xml,') no-repeat center center;
background-size: 12px 12px;
position: absolute;
right: 0;
top: 13px;
width: 18px;
height: 18px;
display: block;
}
&.expanded:after {
transform: rotate(180deg);
}
}
a {
display: block;
margin-right: 24px;
}
}