nav-menu: change color of current item
This commit is contained in:
parent
fa61b633ef
commit
0eff6e0a7f
@ -36,7 +36,7 @@ with others.
|
|||||||
width: 80px;
|
width: 80px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
border-bottom: 1px solid #f5fbf8;
|
border-bottom: 1px solid var(--wp--preset--color--background);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-site-blocks h2::after {
|
.wp-site-blocks h2::after {
|
||||||
@ -46,9 +46,13 @@ with others.
|
|||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
border-left: 1px solid;
|
border-left: 1px solid;
|
||||||
border-bottom: 1px solid #f5fbf8;
|
border-bottom: 1px solid var(--wp--preset--color--background);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-site-blocks ul {
|
.wp-site-blocks ul {
|
||||||
list-style-image: url('/wp-content/themes/autonomic/assets/images/arrow.png');
|
list-style-image: url('/wp-content/themes/autonomic/assets/images/arrow.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-navigation-item.current-menu-item {
|
||||||
|
color: var(--wp--preset--color--secondary)
|
||||||
|
}
|
@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"slug": "secondary",
|
"slug": "secondary",
|
||||||
"color": "#27c773",
|
"color": "#0FB45D",
|
||||||
"name": "Secondary"
|
"name": "Secondary"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user