cancel
Showing results for 
Search instead for 
Did you mean: 

What are the possible Argument Namespaces for Logos

What are the possible Argument Namespaces for Logos

I am tweaking my theme using the xml approach.

I have this xml code:

<referenceBlock name="logo">
<arguments>
<argument name="logo_file" xsi:type="string">images/my-override-logo.png</argument>
<argument name="logo_img_width" xsi:type="number">160</argument>
<argument name="logo_img_height" xsi:type="number">240</argument>
<argument name="logo_img_alt" xsi:type="string">Alt string for SEO and Accessibility purposes</argument>
</arguments>
</referenceBlock>


My alt string is not correctly coded because I can't get the alt attribute string to render to the page. Any suggestions?

1 REPLY 1

Re: What are the possible Argument Namespaces for Logos

You should use logo_alt.

See how is the frontend logo block implemented: https://mage2.pro/t/1092