Community Central
Community Central
(reply)
mNo edit summary
Line 11: Line 11:
 
:::Did you add the CSS classes? --{{User:Pcj/sig}} 02:01, June 19, 2010 (UTC)
 
:::Did you add the CSS classes? --{{User:Pcj/sig}} 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?[[User:Kingbirdy|Kingbirdy]] 02:05, 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?[[User:Kingbirdy|Kingbirdy]] 02:05, June 19, 2010 (UTC)
  +
:::::You need to specify the style in [[w:c:skulduggery:MediaWiki:Common.css]]:
  +
<pre>.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; }
  +
</pre>
  +
:::::Etc, as in [[wowwiki:MediaWiki:Common.css|our CSS]]. --{{User:Pcj/sig}} 02:09, June 19, 2010 (UTC)

Revision as of 02:09, 19 June 2010

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.
Archive
Note: This topic has been unedited for 5053 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.

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)