Jump to content

Topic on Skin talk:Medik/Flow

TOC only appears at right, I want it at the top

4
OOS1859 (talkcontribs)

Medik on my mediawiki installation only shows the TOC to the right, with text on the left. I want it to appear only at the top (the default for e.g., Timeless skin). How is this done? Thanks for any suggestions

OOS1859 (talkcontribs)

A clarification: My TOC for Medik skin ONLY is floating to the right. It does not show this behavior for any other skin I have installed. What might be causing only my Medik skin to show this behavior??

Platinops (talkcontribs)

Hello, you can change this in skins/Medik/resources/desktop.css.

Just disable/remove this part:

#toc.toc {

       float: right;

}

OOS1859 (talkcontribs)

Perfect!! Thank you for pointing me to that!

FYI (to other newbies), to disable some code in a .css file without removing it (so it is easier to keep track of what you have changed):

Put "/*" and "*/" around the code you want to disable. So in this case, change:

#toc.toc {

        float: right;

}

to:

/*#toc.toc {

        float: right;

}*/

Reply to "TOC only appears at right, I want it at the top"