I have successfully created a custom theme as a child of Luma theme in my Magento CE 2.0.12 installation.
But if I add below code in my layout/theme.xml
file, I am not able to add a title
attribute to img
tag of Logo:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="logo">
<arguments>
<argument name="logo_file" xsi:type="string">images/mytheme_logo.svg</argument>
<argument name="logo_alt" xsi:type="string">Custom Alt</argument>
<argument name="logo_title" xsi:type="string">Custom's Logo</argument>
<argument name="logo_img_width" xsi:type="number">200</argument>
<argument name="logo_img_height" xsi:type="number">200</argument>
</arguments>
</referenceBlock>
</body>
</page>
Please suggest how to add additional attribute to img
tag of Logo.