[Mediawiki-l] Change Design for single page?

nevio carlos de alarcão nevinhoalarcao at gmail.com
Tue Jan 19 13:46:25 UTC 2010


It seems easy to do. Thank you very much
cheers
Nevio

2010/1/19 George Alexandru Dudău <george.dudau at mobexpert.ro>

> Pe 17.01.2010 14:00, mediawiki-l-request at lists.wikimedia.org a scris:
> > Is it possible (maybe with an extension?) to change the design for a
> > single page?
> >
> > T4b
> >
> The most simple way is to edit the css file of your skin.
> Example:
> You have a page "Main Page". In your source code you'll see something
> like this:
>
> <body  class="mediawiki  ltr ns-0 ns-subject page-Main_Page">  where
> page-Main_page is the css class for your page "Main Page"
>
> All you have to do is to add all css rules with class page-Main_Page in
> front of every declaration.
>
> .page-Main_Page #sidebar-left {margin: 10px 0 10px 10px;}
> .page-Main_Page #sidebar-right {margin: 10px 10px 10px 0;} ...
>
> Add css declarations only for elements do you want to modify.
>
> All other page will remain unchanged.
>
>
> Sorry for my bad english
>
> Geo
>
>
>
> --
> George Alexandru Dudău
> CORE IT MEX - Grupul de firme MOBEXPERT
> Network administrator | proiecte web | proiecte speciale
>
> Tel : +40 21 2421040-1139
> http://www.itmex.ro
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
{+}Nevinho
Venha para o Movimento Colaborativo http://sextapoetica.com.br !!


More information about the MediaWiki-l mailing list