Linking to common.css

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

Hi Bawolff, yes, I loaded both Mediawiki:Common.css and Mediawiki:Cavendish.css into the website but they don't seem to be functioning. For example:

body.page-Why_people_resist_buying_life_insurance h1.firstHeading { display: none; }

at Mediawiki:Cavendish.css doesn't seem to function, as can be seen on this page.

Cavendish.css, however, appears inside the cavendish folder, something that is not similarly found inside the Monobook folder . Could this be a possible reason that since Cavendish.css already appears at the back-end, it should not appear again at the front-end? I also understand that some skins do not interact with Mediawiki:Common.css.

PM Poon16:25, 19 December 2010

The cavendish skin doesn't support page names in the body's class. Thus body.page-Why_people_resist_buying_life_insurance h1.firstHeading { display: none; } gets loaded, but does nothing. If you for example wrote something like * {border:red medium solid} would work fine (but not be very useful)

Consider hiding the title using code like: {{DISPLAYTITLE:<span style="display:none">Why people resist buying life insurance</span>}} (Put that on the page itself, not in the css file)

>Cavendish.css, however, appears inside the cavendish folder, something that is not similarly found inside the
>Monobook folder . Could this be a possible reason that since Cavendish.css already appears at the back-end

Both are loaded.

Bawolff00:13, 21 December 2010
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox