Community Central
Community Central
Forums: Index Support Requests Change table of contents format
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 4313 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 have searched the fourms for this and none of them seem to satisfy me. I want to know how you can change the format of the table of contents on pages of a wiki. I want to change the background and make the corners of the table of contents round. I have seen that some wikis have done this. Can someone please help me with this! Thank you so much! :) Jessie1010 15:29, June 27, 2012 (UTC)

The CSS you need for this is;
.toc {
    background-color: #color;
    border-radius: 10px 10px 10px 10px;
}
Where the color is the color you want. Feel free to change the 10px on the border-radius to something that looks nicer for you. Each 10px on the border-radius corresponds to one of the corners of the Table of Contents, clockwise starting from the top left corner. -- RandomTime 15:50, June 27, 2012 (UTC)
Thank you so much! Where am I pasting it, in Wikia.css? And does the 10px make the corners round? Thank you! :)
Jessie1010 19:28, June 28, 2012 (UTC)