0

Need to change the styles of a category without using the CSS sheet.

Could you help me?

asked Nov 11, 2015 at 22:28
2
  • What exactly are you trying to change? Commented Nov 12, 2015 at 0:30
  • Sorry for the bad understanding of the question. What i mean is that i dont have directly access to change the CSS as i am a client but i want to create a personalized category with my knowledge... Is it posible to inserta the CSS styles of a block through the CMS? Commented Nov 12, 2015 at 11:31

2 Answers 2

0

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 .

answered Nov 12, 2015 at 2:42
1

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.

answered Nov 12, 2015 at 2:15

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.