1

I'm trying to change the html classes for my customer_account_navigation block. What I actually want to achieve is to display different icons for every single link.

I tried the following in the customer_account.xml but without success:

<referenceBlock name="customer-account-navigation-account-link">
    <arguments>
        <argument name="css_class" xsi:type="string">test</argument>
    </arguments>
</referenceBlock>

Any hints?

0

Try below code:

<referenceBlock name="customer_account_navigation">
    <arguments>
        <argument name="css_class" xsi:type="string">test</argument>
    </arguments>
</referenceBlock>

Don't forget to clear cache :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.