Topic on Project talk:Support desk/Archive

Global HTML/CSS modified per page

2
2601:243:0:3D59:FDFD:480B:8470:3B56 (talkcontribs)

Hello community, I was hoping to solve this issue: I am writing a custom skin and I need to style the mw-body-content to be a fixed width, however I only want to apply this fixed width style on one page.

I have tried searching for the page via ftp in my server files however I cannot find the .php file containing the template html with the classname "mw-body-content" I figure if I can find it in the source code, I can add a unique identifier (i.e. a CSS "id") and then style it in my skins style.css file.

If someone could provide some help it would be much appreciated.

Thanks,

jake

Wargo (talkcontribs)

If by "page" you mean wiki page, body tag has class "page-TITLE" so you can use rules like .page-How_to_contribute #column-content.