Magento theme: change format of (one) category item

Today I learned something interesting from one of our clients (poaa.com). We have developed a multi-shop Magento environment for them. They sell design furniture.

For their christmas specials they made a new category in their Magento shop. They used simple HTML coding to change the font color of that menu item. This ensures this particular category is receiving more attention than the others.

Image showing how one category is formatted differently

How to accomplish this? Well, it is actually very simple, but hey, i didn’t know it, so maybe this helps you too:

1) Just include the HTML formatting tag, for example <font color=”red”>your category name</font> in the namefield of your category (in the Magento backend);
2) Saving the category will create an ‘ugly’ URL key for the category (since it will include the HTML code you added). Fix that by entering manually the correct category URL.

And you are done!

If you need any help on this post, or are looking for an experienced Magento partner, feel free to contact us!

~ by emilekoolstra on November 10, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.