Need to change the styles of a category without using the CSS sheet.
Could you help me?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityNeed to change the styles of a category without using the CSS sheet.
Could you help me?
Be honest, we didnt get your question. But if you want to apply some css or js for static blocks, you can use this extension (I own) for that. It is completely free.
For more detail about the extension, you can checkout my blog post.
It's hard to believe you really need to change a style without using CSS. You might not want to include a new css file or edit some one.
So, you can use CSS in-page using the layout update section in the form category, like this:
<reference name="head">
<block type="core/text" name="custom.css.category">
<action method="setText"><text><![CDATA[<style type='text/css'>MY CUSTOM STYLES HERE!</style>]]></text></action>
</block>
</reference>
Or maybe you want to do it only with javascript, but deep down you are still applying CSS to overwrite existing style's theme.