Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Add class to a link
 
dltr_org
Sr. Member
 
Avatar
Total Posts:  167
Joined:  2008-09-12
rockdale, sydney, australia
 

How can i add class to a link?

<action method="addLink" translate="label title"><label>Free Shipping</label><url>free-shipping</url><title>Free Shipping</title><prepare>true</prepare><urlParams/><position>1</position></action>

tried this, doesn’t work.

<action method="addLink" translate="label title class"><label>Free Shipping</label><url>free-shipping</url><title>Free Shipping</title><prepare>true</prepare><class>freeshippingtitle</class><urlParams/><position>1</position></action>

and what is the use of <urlParams/>, couldn’t find through search?

thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top