Logo and icon problem after update

artcrimes

Member
Hello,

After the new 2.3.0 update I am getting some errors in the theme.

For example, header menu icons do not appear.
Also the logo sizes have shrunk by themselves. How can I solve these problems? I need help.

Code:
<a data-template-name="public:PAGE_CONTAINER::nav_link" href="/" class="p-navEl-link p-navEl-link--splitMenu " data-nav-id="forums">Forumlar</a>

icon-problem.webp

Thanks for your help.
 
This will be related to a style customization. For icons, you should use the Less mixin and variables instead of regular properties or unicode values.

Less:
.some-thing::before
{
    .m-faIcon(@fa-var-bolt);
}
 
For backwards compatibility purposes, .m-faContent is merely an alias for .m-faIcon. However .m-faIcon is the canonical mixin as it's more descriptive and representative of the icon approach in 2.3, which does not use the content CSS property as an icon value. Given the prevalence of .m-faContent I don't imagine it will be going away any time soon.

I have updated the linked post to reflect this.
 
Hello everyone,

First of all, thank you for your answers. There is a code for header icons in my extra.less file. I was using a different image for each menu item. When I add it as @Jeremy P said, each icon becomes a “thunderbolt” icon.

Code:
// Forum Header Menu Icons

.p-navEl a::before{

    font-family: 'Font Awesome 5 Pro';

    padding-right: 5px;

}


.p-navEl a[data-nav-id="home"]::before{content: "\f015";}

.p-navEl a[data-nav-id="forums"]::before{content: "\f27a";}

.p-navEl a[data-nav-id="whatsNew"]::before{content: "\f0e7";}

.p-navEl a[data-nav-id="xfmg"]::before{content: "\f030";}

.p-navEl a[data-nav-id="xfrm"]::before{content: "\f019";}

.p-navEl a[data-nav-id="members"]::before{content: "\f0c0";}

.p-navEl a[data-nav-id="newPosts"]::before{content: "\f005";}

.p-navEl a[data-nav-id="findThreads"]::before{content: "\f00e";}

.p-navEl a[data-nav-id="watched"]::before{content: "\f06e";}

.p-navEl a[data-nav-id="searchForums"]::before{content: "\f002";}

.p-navEl a[data-nav-id="markForumsRead"]::before{content: "\f070";}

.p-navEl a[data-nav-id="150"]::before{content: "\f015";}
 
Hello everyone,

First of all, thank you for your answers. There is a code for header icons in my extra.less file. I was using a different image for each menu item. When I add it as @Jeremy P said, each icon becomes a “thunderbolt” icon.

Code:
// Forum Header Menu Icons

.p-navEl a::before{

    font-family: 'Font Awesome 5 Pro';

    padding-right: 5px;

}


.p-navEl a[data-nav-id="home"]::before{content: "\f015";}

.p-navEl a[data-nav-id="forums"]::before{content: "\f27a";}

.p-navEl a[data-nav-id="whatsNew"]::before{content: "\f0e7";}

.p-navEl a[data-nav-id="xfmg"]::before{content: "\f030";}

.p-navEl a[data-nav-id="xfrm"]::before{content: "\f019";}

.p-navEl a[data-nav-id="members"]::before{content: "\f0c0";}

.p-navEl a[data-nav-id="newPosts"]::before{content: "\f005";}

.p-navEl a[data-nav-id="findThreads"]::before{content: "\f00e";}

.p-navEl a[data-nav-id="watched"]::before{content: "\f06e";}

.p-navEl a[data-nav-id="searchForums"]::before{content: "\f002";}

.p-navEl a[data-nav-id="markForumsRead"]::before{content: "\f070";}

.p-navEl a[data-nav-id="150"]::before{content: "\f015";}

Any update please :(
 
Back
Top Bottom