sIFR Change Color on Roll Over
In a latest project, I had to add keep the designers font throughout the site. So the solution I ended up with is sIFR. I wanted to avoid using images for all links.
I started out using sIFR on the li and not on the achors. Then you can manipulate the a:hover tag. However, when you start getting into second level (sub-lists), things got complicated.
So here’s the code snippet I had used on the anchor tag.
,onRollOver: function(fi) { fi.changeCSS('.sIFR-root { letter-spacing: 1.2; color: #F6DA07;text-transform:uppercase; cursor:pointer;}'); },onRollOut: function(cb) { cb.changeCSS('.sIFR-root { letter-spacing: 1.2;text-transform:uppercase;cursor:pointer;color: #ffffff;}');},
That is it!
This went into a Magento Cart. The client was very pleased we were able to keep the same font.





