D
D
DumbTales2017-10-29 21:41:55
PHP
DumbTales, 2017-10-29 21:41:55

How to set link class using pdoMenu?

NeeD HelP Tell me
how to specify a class for links using pdoMenu
SOURCE:

<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/">

I DO THIS:

Classes are substituted for 'ul' and 'li', but not for 'a'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2017-10-30
@DumbTales

add to the call:

&tpl = `@INLINE <li><a class="nav-link" href="" ></a></li>`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question