Notifications
Clear all
Topic starter
In homepage, you need to add inline css in the body tag.
What should be the correct way of doing this using layout XML file cms_index_index.xml:
- A . <page>
<body>
<attribute name="style" value="css.opacity=0"/>
</body>
</page>
B. <page>
<body>
<attribute name="css" value="style.opacity=0"/>
</body>
</page>
C. <page>
<body>
<attribute name="css" value="opacity:0"/>
</body>
</page>
D. <page>
<body>
<attribute name="style" value="opacity:0;"/>
</body>
</page>
Suggested Answer: D
Posted : 06/01/2023 6:27 am