Community Central
Community Central
Forums: Index Community Central Forum Fixed-width for my home
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 5031 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


Hi, I'm trying to make the 'my home' over at the Chili peppers wiki fixed-width. The founder wants fixed-width only on the main page and 'my home', I've already made the main page fixed-width but can't figure out how to do the same for 'my home'.

Here's the code I'm using for the main page:

body.mainpage div.monaco_shrinkwrap {
    left: 50%;
    margin-left: -485px;
    width: 971px;
}
* html body.mainpage div.monaco_shrinkwrap {
    left: auto;
    margin-left: auto;
    width: 100%;
}

If someone could help me modify it to affect the 'my home', I would really appreciate it.

Thanks in advance. --Anon talk 20:47, July 7, 2010 (UTC)

The below should cover both pages. Ose TalkContribs 23:08, July 8, 2010 (UTC)
body.mainpage div.monaco_shrinkwrap,
body.page-Special_MyHome div.monaco_shrinkwrap {
    left: 50%;
    margin-left: -485px;
    width: 971px;
}
* html body.mainpage div.monaco_shrinkwrap,
* html body.page-Special_MyHome div.monaco_shrinkwrap {
    left: auto;
    margin-left: auto;
    width: 100%;
}
Works perfectly. Thank you very much :) --Anon talk 00:54, July 9, 2010 (UTC)