Customizing header
Customizing Monaco | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
There are several unique elements in Monaco skin's top header. This section will help you to customize the header area, menus and menu buttons, which will all be modified by adding the appropriate text to the MediaWiki:Monaco.css page
Header Background[edit | edit source]
- The header refers to the top most area of color on the wiki skin (just below your browser menu), which contains your username and preferences on the right and the Wikia logo on the left.
- These colors and style are initially defined by the color2.
#wikia_header { background-color: red; border-color: Black; }
Wikia logo[edit | edit source]
- The Wikia logo (which is not your individual wiki's logo), is located on every page of the wiki in the top left corner. It includes the name, "Wikia" plus the name of the hub your wiki is a part of (which is also a drop down menu).
- Header menu buttons are graphics that can be customized with an image editor.
- You can find available preset colors on the Customizing Monaco/Header image colors page. Here you can easily copy and paste the logo you like, and use this on your wiki.
- Copy all of the text listed here, and input the uploaded images URL where requested
#wikia_logo { background-image: url(URL_TO_YOUR_IMAGE); } * html #wikia_logo { background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='URL_TO_YOUR_IMAGE', sizingMethod='crop'); }
[edit | edit source]
- The headerMenu, which is the bar that holds the edit, watch, history, etc text while you are not editing.
- The header menus' style is initially defined by the class "color1", you can modify the background-color:
- 'headerMenu' a are the links on the header menu
- color: defines the link color
.headerMenu { background-color: red; } .headerMenu a { color: White; }
Header Menu Buttons[edit | edit source]
Header menu buttons are defined through the class ".header-button".
.header-button { background-color: red; }
Removing Menu Buttons[edit | edit source]
To remove "My Home" from the menu buttons, enter the following to MediaWiki:Monaco.css:
#header_myhome { display: none; }
Header[edit | edit source]
Header menus have a very slight amount of transparency. The transparency properties have been included in the code example below. The header menus' style is initially defined by the class "color1".
.headerMenu, .headerMenu a { background-color: red; color: White; -moz-opacity: .95; opacity: .95; }
Widget Cockpit[edit | edit source]
#widget_cockpit { background-color: red; }
Background Strip[edit | edit source]
The background strip is the wide band just below the header that contains the wiki logo.
#background_strip { background-color: red; }
The background strip also contains two divs that can be used for additional accent graphics. The divs are already positioned absolutely within the background strip, so just set a background image, height, width, and any positioning.
#accent_graphic1 { background-image: url(URL_TO_YOUR_IMAGE); height: 155px; width: 300px; } #accent_graphic2 { background-image: url(URL_TO_YOUR_IMAGE); height: 155px; width: 1000px; top: 20px; right: 20px; }
Page Tabs[edit | edit source]
The page tabs are the Article (page) and Discussion (talk) tabs on the right hand side of each page. #page tabs li controls of the color of the non-selected tab #page tabs li.selected controls the color of the selected tab
#page_tabs li { background-color: red; } #page_tabs li.selected { background-color: White; }
It's a good idea to make the selected tab's background color match the background color of the article.
Page Bar[edit | edit source]
The page bar contains the Article/Discussion tabs as well as the actions for the page (Edit, History, etc). Subtle shading is automatically added to the specified background color. To remove the shading, set background-image: none. The page bar's style is initially defined by the class "color1".
#page_bar { background-color: red; } #page_controls a { color: White !important; }
See also[edit | edit source]
Basic information[edit | edit source]
Advanced information[edit | edit source]
- Header image colors
- Customizing colors
- Tips for creating a dark skin
- Custom widgets
- Highly detailed customization guide
General Monaco information[edit | edit source]
- This article uses material from the "Halp:Customizing header" article on Archived Help Wiki and is licensed under the Creative Commons Attribution-ShareAlike license.