Fandom

Community Central

Fixed-width for my home

Forum page

19,006pages on
this wiki
Add New Page
Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Visit the new Forums
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.
Note: This topic has been unedited for 2334 days. It is considered archived - the discussion is over. 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)

Also on Fandom

Random Wiki