when i add a block,whose contents are produced by View,i used firebug to see which element i want to apply some style and added some style to it ,(in style.css). i used firebug to see the style,but there is nothing about it. why? any tips would be appreciated!

Comments

jix_’s picture

Please paste the bit of HTML that you looked up with Firebug, and the selector you're using in your CSS.

Anonymous’s picture

several things come to mind:

1) If you have turned on CSS optimization in your performance administration section, then you'll need to clear this before new changes in style.css take effect.

2) Are you making changes to the correct style.css? Each theme has its own style.css, and you need to make sure you are changing the correct file. Changing the style.css file in the bluemarine directory will have no effect if you are using the Garland theme, for example.

3) Make sure your CSS styling is cascading correctly. The CSS cascade can be tricky -- sometimes I have specified a change in CSS but a different CSS selector is overriding my change. Look carefully at the style cascade in Firebug, your changes may be present in the cascade but are being overridden by more specific selectors (for example using a '#' selector instead of '.' selector).

If none of those work, provide some more detail in your response -- that will help get your question answered.