Hi,
I have a question about the flex property of the Navigation Collapsed element Sub-Links.
What I am trying to achieve is, I want to divide the menu text item (Menu>Navigation Label) into two parts, and position them using the spece-between property, one item on the left and the other on the right.
When I create a WP menu item, I use this in the Navigation Label field:
<div class="x-anchor-content">
<div>Left Text</div>
<div>Right Text</div></div>
and on the element CSS, I use this:
.x-anchor-content {
display: flex;
justify-content: space-between;
}
However it is not working.
Am I using wrong pointers? Should I create a class? I tried but it didn’t work.
In the secure note you can find the URL of the text page that I am working on.
I would be really glad if you can help.
Thanks
Gunes
PS: Stretching “.x-anchor-text-primary” throughout its parent container will most likely solve my problem, however, I couldn’t figure out how to do that too.



