I've created a pseudo CSS style for an anchor tag, which was working fine before. However, for some reason, it's no longer working. I tried using Chrome inspect element to add the CSS but it's not being read by the anchor tag.
@font-face {
font-family: 'FontAwesome';
font-style: normal;
font-weight: 900;
font-display: auto;
src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.eot");
src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.woff2") format("woff2"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.woff") format("woff"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.ttf") format("truetype"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}
.menu-item-has-children>a::after {
content: '\f067' !important;
font-family: FontAwesome;
top: -13px !important;
font-size: 18px !important;
position: relative !important;
-webkit-text-stroke: 1px #292929 !important;
}
<li id="menu-item-2222" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-ancestor current-menu-parent menu-item-has-children menu-item-2222 child-open" aria-haspopup="true">
<a href="#">Behandelingen</a>
<ul class="sub-menu isOpen" style="display: block;">
<li id="menu-item-3495" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-2807 current_page_item menu-item-3495"><a href="/overzicht-gezicht/" aria-current="page">Gezicht</a></li>
<li id="menu-item-3496" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3496"><a href="/overzicht-handen-en-voeten/">Handen en voeten</a></li>
<li id="menu-item-3494" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3494"><a href="/overzicht-waxen/">Harsen</a></li>
<li id="menu-item-3492" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3492"><a href="/overzicht-ogen/">Ogen</a></li>
<li id="menu-item-3491" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3491"><a href="/overzicht-lichaam/">Lichaam</a></li>
<li id="menu-item-3493" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3493"><a href="/overzicht-voeding/">Voeding</a></li>
</ul>
</li>
This issue is only occurring on mobile devices.
Could there be an error in my code, or is there a solution to resolve this problem?