Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to display the class of a link?
Good afternoon, for some reason, the class is not displayed for menu links. It is Wayfinder that is needed,&webLinkClass=`icons_fa parent`
[[!Wayfinder?
&startId=`2`
&outerTpl=`@INLINE <ul[[+wf.classes]]>[[+wf.wrapper]]</ul>`
&rowTpl=`@INLINE <li[[+wf.classes]]><a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>[[+wf.wrapper]]</li>`
&level=`2`
&webLinkClass=`icons_fa parent`
&rowClass=`full has-child m_line`
&hereClass=`current`
&outerClass=`menu dropdown`
]]
Answer the question
In order to leave comments, you need to log in
Thank you all for your advice, the error was that @INLINE is not needed, but @CODE
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question