So I have started using child menus on a site I manage - www.gaug.co.uk and I am getting a square box next to it, but can’t for the life of me find which FontAwesome pack or icon is missing.
Can anyone help?
So I have started using child menus on a site I manage - www.gaug.co.uk and I am getting a square box next to it, but can’t for the life of me find which FontAwesome pack or icon is missing.
Can anyone help?
@techielass, Comparing your site and the demo site of Antimatter, you seem to be missing ‘line-awesome.min.css’.
That file loads font-family: FontAwesome.
Not sure that’s it to be honest, the line-awesome.min.css does exist in my code repo and other FontAwesome files load as you can see from the footer bar…
@techielass, The icons in your page are defined in two different ways:
<i class="fab fa-1x fa-facebook"></i>
#header #navbar .has-children>a>span:after {
font-family: FontAwesome; /* FontAwesome 4.7 */
content: '\f107';
position: absolute;
display: inline-block;
right: 8px;
top: 4px;
}
Only this one is broken.On August 6, 2018, your have created a pull request on the repo of Antimatter to replace font-awesome 4.7 with 5.2. You replaced file css/font-awesome.min.css
with css/all.min.css
.
It is in css/font-awesome.min.css
where the font-family FontAwesome is defined. The new font awesome 5.2 uses font-family: “Font Awesome 5 Free”, but parts of Antimatter still refers to the old font-family
Could it be this caused the issue, but you didn’t notice it before?
Two alternative fixes:
Fix 1:
/css-compiled/template.css
:#header #navbar .has-children>a>span:after {
font-family: FontAwesome; /* FontAwesome 4.7 */
content: '\f107';
position: absolute;
display: inline-block;
right: 8px;
top: 4px;
}
into:#header #navbar .has-children>a>span:after {
font-family: "Font Awesome 5 Free"; /* FontAwesome 5+ */
font-style: normal; /* required */
font-weight: 900; /* required */
content: '\f107';
position: absolute;
display: inline-block;
right: 8px;
top: 4px;
Fix 2:
<span></span>
with:<i class="fa fa-angle-down" aria-hidden="true"></i>
@techielass, Any progress?
Thanks fix 2 worked for me.