Topic on Project:Support desk

Modifying monobooktemplate.php

4
209.6.197.188 (talkcontribs)

I have added html to this for my main.css skin to load so i could load certain images and position them for a custom skin The problem is it load before the doctype tag. How can i make the html load after.

88.130.103.126 (talkcontribs)

The MonobookTemplate.php file is a core file. Modifying core files is bad.

What do you want to achieve by editing this file?

209.6.197.188 (talkcontribs)

I want to include custom navigatio text for the sidebar i have on the left and for a right horizonal navbar i created. I want to use a css shape for the sidebar and overlay and overlay the serach field on an image i created.

I can also include it by loading it as a seperate file or an extension but the same problem still happens.

88.130.89.44 (talkcontribs)

For editing the sidebar see Manual:Interface/Sidebar.

If for your navbar on the right you need an additional HTML container, then this might be possible using a hook. Another idea is to use the site notifice feature for this. See Manual:Interface/Sitenotice. CSS changes can be placed on the page MediaWiki:Monobook.css inside your wiki.

MediaWiki:Monobook.css also is the place to put CSS rules for putting an image into the search field.

Reply to "Modifying monobooktemplate.php"