FANDOM


This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Help with content boxes (the type from WoWiki main page)
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.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3627 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

I would like to be able to use the content boxes (the darker colored boxes that have text or media in them) from the WoWiki main page on the Skulduggery Pleasant Wiki , but I can't seem to get the code to work. Any help would be greatly appreciated. Kingbirdy 01:42, June 19, 2010 (UTC)

What sort of problems are you having? --Pcj (TC) 01:46, June 19, 2010 (UTC)
The boxes simply dont show up. here is the code I'm using:
<div class="mpcontentbox-main bg-darkgray"> content </div>Kingbirdy 01:57, June 19, 2010 (UTC)
Did you add the CSS classes? --Pcj (TC) 02:01, June 19, 2010 (UTC)
well I don't know what you are talking about, so I'll say no. could you explain how to do so?Kingbirdy 02:05, June 19, 2010 (UTC)
You need to specify the style in w:c:skulduggery:MediaWiki:Common.css:
.mpcontentbox-sidebar {
 margin-top:10px;
 padding:7px 10px 12px 10px;
 -moz-border-radius:0.5em;
 -webkit-border-radius:0.5em;
 font-size:89%;
}
.mpcontentbox-main {
 margin-top:10px;
 padding:7px 15px 12px 15px;
 -moz-border-radius:0.5em;
 -webkit-border-radius:0.5em;
 font-size:89%;
}
.mpcontentbox-header { border-bottom:1px solid #444; }
.mpcontentbox-table { width:100%; }
.mpcontentbox-table td { width:50%; }
.bg-darkgray { background-color:#BBB; }
.bg-darkblue { background-color:#A0A2B8; }
.bg-darkred { background-color:#BDACAC; }
.bg-darkgreen { background-color:#8AC4B4; }
Etc, as in our CSS. --Pcj (TC) 02:09, June 19, 2010 (UTC)
that actually didn't work too well, as the colors were off, but i found some stuff in your monaco.css that did seem to work. Thanks for the help! Kingbirdy 02:18, June 19, 2010 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.