Is there a way to add and X to this element via CSS?
<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>
Im not sure where its located in the site, so Id rather just go this route
You can use the :before
pseudo-element
span.mobile_menu_bar:before {
content: "X";
}
Use a pseudo element:
.mobile_menu_bar:after {
content: 'X';
}
<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>
:before
, or:after
to insert some content, such as "[x]" using something likemobile_menu_bar_toggle:after { display:inline-block; content: '[x]'; }
.... You'd need to of course position it etc, but taht would be where i would start.