[pmwiki-users] over-ride recipe's css for one wiki

Hans design5 at softflow.co.uk
Wed Nov 8 15:40:14 CST 2006


Wednesday, November 8, 2006, 9:34:45 PM, Tegan wrote:

> How would I do that?  I tried putting
> div.toc p { background-color: #333333;} into my .css file, and nothing
> chnged.  So I guess I got the css wrong (OR maybe this is an instance
> where the location of the htmlheader line in the skin template has
> screwed me up)?

you can check the html source of th epage to see if your .css file
is loaded after or before the <style> .. in the head.

But I would be tempted to move all the toc styles out into
pub/css/local.css and set in config.php:
   $HTMLStylesFmt['tocf'] = "";
to turn the head style injection off.
Then change the colors in your local.css, since this will not get
overwritten.

Or put them into a Group.css or Group.Page.css file for just the group
or page the toc is actually used.


Hans





More information about the pmwiki-users mailing list