I like to keep my styles in the theme. It would be nice if there was an option to configure this module to just load a configurable CSS file from the theme. What do you think?

Comments

blackice2999’s picture

Status: Active » Closed (works as designed)

Hi,

if you want to load a special css file you dont need this module. You can load the css3pie lib directly in your css file... but you can use the theme.info configuration way if you dont want to load the css3pie library manually.

joelstein’s picture

Thanks. What do you mean by the "theme.info" way?

iler’s picture

You can define in your themes .info file the selectors like this:

settings[css3pie][selectors][] = ".yourclass"
settings[css3pie][selectors][] = "#yourid"
joelstein’s picture

That's fantastic! Thanks. However, I did not see mention of this feature in the README file, on the project homepage, or even on the module settings page. You might consider writing about this feature somewhere so others can find it.

iler’s picture

Noticed that myself too. Will fix that.

blackice2999’s picture

already done but forget to push.

joelstein’s picture

Great, thanks! You might also mention that after you add those selectors to the .info file, you have to clear your theme registry, and then configure CSS3PIE to use the theme file. I'm guessing most people won't realize those last steps are necessary.