Customizing Horizon with user stylesheets

Known Issues
The following bit of code is required in Firefox and Safari and doesn't seem to work in IE. In Firefox, it will override the code for the Navigation SubMenu Item on mouseover.

/* Needed for Safari and Firefox to keep hover color correct */

background: #3662AC !important; /* Nav Menu Item Hover Background */ color: #9EC8FF !important; /* Nav Menu Item Hover Color */ }
 * 1) NavMenu li:hover > a {

The easiest solution to this is to have matching colors for the Nav Menu Item hover and the Nav SubMenu Item hover.

/* Navigation SubMenu Item */

.NavMenuSubNav li a:hover { background-image: none !important; background: #3662AC !important; /* Nav SubMenu Item Hover Background */ color: #9EC8FF !important; /* Nav SubMenu Item Hover Color */ }

Main Navigation Area
/*This is the area where you have the blue gradient*/

/* This navigation has the background-image disabled, but you can add it and use background-repeat and other fun stuffs. */   background-image: none !important; background-color: #123E6A !important;     /* Main Navigation Color */ font-family: Arial, Verdana, Helvetica, sans-serif !important; }
 * 1) navigation {

/* Background Color for the Userpic*/

background-color: #123E6A !important; }
 * 1) Userpic {

Top Links
/* Start Top Links */

/* Controls the color of the wee line bar between links */

color: #5A84BB !important; }
 * 1) welcome {

/* Top Links Color */

text-decoration: none !important; color: #7CA6DD !important; }
 * 1) welcome a {

/* Font Size of the Username */

font-size: 18px !important; }
 * 1) welcome h2 {

/* Color of the Username*/

color: #fff !important; }
 * 1) welcome h2 .ljuser a {

/* First and Second Rows of Links */

font-size: 14px !important; /* Can make this bigger for better visibility */ }
 * 1) WelcomeLinks, #WelcomeLinks a {

text-decoration: none !important; /* Text decorations for welcome links */ }
 * 1) WelcomeLinks a, #WelcomeViewLinks a {

color: #fff !important; /* Color for welcome links on hover */ text-decoration: underline !important; /* Text decorations for welcome links on hover */ }
 * 1) WelcomeLinks a:hover, #WelcomeViewLinks a:hover {

/* Second Row of Links */

font-size: 14px !important; /* Can make this bigger for better visibility */ }
 * 1) WelcomeViewLinks li {

/* End Top Links */

Login Box
/* Start Login Box */

background-color: #292940 !important; /* Login Box Background Color */ color: #fff !important; /* Login Box Color */ }
 * 1) Login {

color: #fff !important; /* Login Box Link Color */ }
 * 1) Login a {

/* End Login box */

Navigation Bar
/* Start Navigation Bar */

background: #292940 !important; /* Navigation Bar Background Color */ font-size: 14px !important; }
 * 1) NavBar {

color: #fff !important; /* Nav Bar Link Color */ }
 * 1) NavMenu {

.NavMenuItem { color: #fff;  /* Nav Bar Link Color */ cursor: pointer !important; }

.NavMenuItem a, .NavMenuItem a:visited { color: #fff !important;  /* Nav Bar Link Color */ font-weight: bold !important; text-decoration: none !important; font-size: 13px !important !important; }

/* Needed for Safari and Firefox to keep hover color correct */

background: #3662AC !important; /* Nav Menu Item Hover Background */ color: #9EC8FF !important; /* Nav Menu Item Hover Color */ }
 * 1) NavMenu li:hover > a {

.NavMenuItem:hover { background-color: #3662AC !important; /* Nav Menu Item Hover Background */ color: #9EC8FF !important; /* Nav Menu Item Hover Color */ }

.NavMenuItem a:hover, #Alpha { background-color: #3662AC !important; /* Nav Menu Item Hover Background */ color: #9EC8FF !important; /* Nav Menu Item Hover Color */ }

/* End Navigation Bar */

Navigation SubMenus
/* Start Navigation SubMenus */

.NavMenuSubNav { background: #3662AC !important; /* Nav SubMenu Box Background */ color: #fff !important; /* Nav SubMenu Box Color */ }

.NavMenuSubNav a, .NavMenuSubNav a:visited { color: #9EC8FF; font-weight: normal !important; text-decoration: underline !important; }

.NavMenuSubNav li { background: #3662AC !important; /* Nav SubMenu Item Background */ }

.NavMenuSubNav li a, .NavMenuSubNav li a:visited { color: #9EC8FF !important; /* Nav SubMenu Item Color */ font-weight: bold !important; text-decoration: none !important; }

.NavMenuSubNav li a:hover { background-image: none !important; font-weight: bold !important; background: #3662AC !important; /* Nav SubMenu Item Hover Background */ color: #FFFFFF !important; /* Nav SubMenu Item Hover Color */ }

.NavMenuSubNav li.disabled { background-color: #3662AC !important; /* Nav SubMenu Item Disabled Background */ }

.NavMenuSubNav li.disabled a { color: #999 !important; /* Nav SubMenu Item Disabled Color */ }

.NavMenuSubNav li.disabled a:hover { color: #000 !important; /* Nav SubMenu Item Disabled Hover Color */ }

/* End Navigation SubMenus */

Search Boxes
font: normal 11px arial, helvetica, sans-serif !important; }
 * 1) NavMenuSearch input, #NavMenuSearch select {

Changing the Logo
Chances are the logo is going to clash with what you want, but you can put whatever you want as the logo! Here was the v-day logo, to give you a good idea of the kind of size you're looking for.

Note: this bit assumes you aren't using a background image for the navigation already. If you are, you'll have to integrate the logo in with the Navigation background image you made.

/* REPLACE TOP RIGHT NAVIGATION LOGO */

background-image: url("http://stat.livejournal.com/horizon/logo-vday.gif") !important; background-position: top right !important; background-repeat: no-repeat !important; }
 * 1) navigation {

Replacing the Userinfo Head Guy
Let's say you don't like the icon and would like to use your own or another picture entirely, well, that's possible.

Note: the new image will not link to your profile of course.

/* REPLACE LJ USERINFO ICON */

display: none !important; }   background-image: url("http://stat.livejournal.com/img/paid.gif") !important; background-repeat: no-repeat !important; background-position: 0% 70% !important; padding-left: 17px !important; }
 * 1) welcome .ljuser img {
 * 1) welcome .ljuser b {

Changing the Userpic from Your Default
Maybe you don't want your default userpic to be the one up in that navigation bar, for whatever reason. Never fear! (The one used in the example is just one of mine.)

background-image: url("http://www.livejournal.com/userpic/38504628/522024") !important; }
 * 1) defaultpic {

Or you may want to display another image entirely:

background-image: url("http://stat.livejournal.com/img/vgift/supafrank-large.gif") !important; width: 150px !important; height: 300px !important; }
 * 1) defaultpic {

Make sure to move things over if the image is too big.

Killing Things Dead With Fire
Sometimes, you just want a particular part of Horizon not to display, whether it's a menu you don't use often, your own userpic staring you in the face, or the eleven upward arrows reminding Basic accounts they can upgrade. That can be accomplished, too.

Removing the Logo Entirely
/* KILLING THE LOGO! */

display: none !important; }
 * 1) Logo img {

Removing the Userinfo Head Guy Entirely
Maybe he clashes with your colors. He can go away, too--you get a link to your profile in the menus, so he's not really necessary anyway.

/* DISABLE LJ USERINFO ICON ON MAIN NAV */

/* Will keep the LJ Userinfo icon from displaying next to the username */
 * 1) welcome .ljuser img {

display: none !important; }

Removing the Userpic Entirely
Maybe you feel the userpic in the left of Horizon should just die completely.

/* IM IN UR HORIZON, KILLIN UR USERPIC */

display: none !important; }
 * 1) Userpic {

left: 0px !important; }
 * 1) welcome {

margin: 0 0 0 10px !important; }
 * 1) NavMenu {

left: 0px !important; }
 * html #NavMenu {

Removing Upgrade Arrows, Paid Stars and the Vertigo Beta star
Yellow might not groove with your colors, so this is how to get rid of all the upgrade arrows or the yellow paid/perm account star.

/* DISABLE UPGRADE ARROWS OR YELLOW STARS */

.NavMenuSubNav li.disabled, .NavMenuSubNav li.disabled a:hover { background-image: none !important; }

display: none !important; }
 * 1) WelcomeLinks a img {

display: none !important; }
 * 1) WelcomeViewLinks a img {

Do Not Display Disabled Items in the Menu
Some items on the menus are grayed out because they're not available to your account level. That's great if you didn't know what kinds of stuff you can do when you upgrade, but if you do, maybe you don't want to see them anymore.

/* DO NOT DISPLAY DISABLED MENU OPTIONS */

.NavMenuSubNav li.disabled { display: none !important; }

Killing the Search Boxes
Sure, you might want to prettify the search, but as far as I know select boxes are really BAD at being styled with CSS. So if it's ruining your effect, just kill it.

/* KILL THE SEARCH BOXES */

display: none !important; }
 * 1) NavMenuSearch {

There's a second, option, too: killing only the select bar and styling the input items. You'll be able to search, but not select anything other than the default.

Note: these colors go with the ones in the color example above.

/* PRETTIFY THE SEARCH BOXES */

display: none !important; }
 * 1) NavMenuSearch form select {

border: 2px solid #9EC8FF !important; background-color: #123E6A !important; color: #F1FBFF !important; padding: 2px !important; margin-top: -2px !important; }
 * 1) NavMenuSearch form input {

Disabling Entire Menu Items
There might be sections of menus on Horizon that you never use, and maybe you just don't want them there at all. They, too, can be individually targetted and hidden. I've included ALL of them, even if I can't imagine why you'd want some of them gone, because this is all about what YOU might want.

/* DISABLE HOME ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem1

/* DISABLE JOURNAL ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem2

/* DISABLE PROFILE ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem3

/* DISABLE FRIENDS ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem4

/* DISABLE COMMUNITIES ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem5

/* DISABLE SCRAPBOOK ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem6

/* DISABLE FIND ON NAV BAR */

{ display: none !important; }
 * 1) NavMenuItem7

Hiding the Vertigo Beta! Link
Note: the values for width and height may need to be adapted, depending on your font size.

/* HIDE VERTIGO BETA LINK */

width: 368px !important; height: 25px !important; overflow: hidden !important; }
 * 1) WelcomeViewLinks {

Moving the Userpic
/* Moving the Userpic */

margin-top: 6px !important; margin-left: 6px !important; }
 * 1) Userpic {

Moving the Top Links
/* Moving the Top Links */

left: 120px !important;   /*  Increase to push to the right */ top: -5px !important;   /*  Increase the value to push upwards */ }
 * 1) welcome {

/* Moving the Second Row of Links */

padding-left: 50px !important;   /*  Increase to push to the right */ padding-top: 10px !important;   /*  Increase to push downwards */ }
 * 1) WelcomeViewLinks {

Moving the Navigation Menus
/* Moving the Navigation Menus */

margin: 0 0 0 150px !important;   /*  Increase to push to the right */ }
 * 1) NavMenu {

Moving the Search Boxes
/* Moving the Search Boxes */

right: 30px !important;   /*  Increase to push to the left */ }
 * 1) NavMenuSearch {

Moving the Navigation SubMenus
Depending on your font size, the SubMenus may not open directly below the navigation menu item. They may also overlap the nav bar. You can correct this by changing the position of the SubMenus.

/* Moving the Navigation SubMenus */

.NavMenuSubNav { /* Increase the first number to push the menu downwards */ /* Increase the value of the second number to push the menu to the left */ margin: 9px 0px 0px -10px !important; }

Reordering the Navigation Menus
You can also move one item independently and therefore change the order in which the menus are displayed. In the example given below, the 'Journal' menu has been moved between 'Profile' and 'Friends'.

Note: the example given below works for a specific screen resolution, window size, font size, etc. You will probably need to find what works with your settings.

/* Moving the Journal Menu */

{   position: absolute !important; left: 175px !important; }
 * 1) NavMenuItem2

/* Moving the Friends Menu */

{   position: absolute !important; left: 275px !important; }
 * 1) NavMenuItem4

/* Moving the Communities Menu */

{   position: absolute !important; left: 375px !important; }
 * 1) NavMenuItem5

/* Moving the ScrapBook Menu */

{   position: absolute !important; left: 530px !important; }
 * 1) NavMenuItem6

Changing the Height of the Top Area
If you use a big font size, the top area may be higher than your userpic. Or, on the contrary, if you have a big background image, the top area may not be high enough. You can fix this by changing the height of the top area elements.

Note: after you've done this, you may need to move things over.

Changing the Height of the Navigation Area
This is your total height. If you want it to be smaller than 100px, you need to edit min-height.

/* Changing the Height of the Navigation area*/

height: 100px !important; min-height: 100px !important; }
 * 1) navigation {

Changing the Height of the Welcome Area
/* Changing the Height of the Welcome Area*/

height: 65px !important; }
 * 1) NavigationWelcomeLogo {

Changing the Height of the Navigation Bar
Because Menu Items have top padding by default, you need to:
 * either have the line-height be smaller than the final height you want to have
 * or set padding-top to 0.

/* Changing the Height of the Navigation Bar */

.NavMenuItem { line-height: 15px !important; padding: .5em .6em !importat; }

Just Displaying the Navigation Bar
So let's say you think the top area is a waste of space but you still want to be able to navigate the site, you can simply display the Navigation Bar.

Note: this version will kill the logout link so you should only use it if you always stay logged in or have bookmarked the logout page.

/* Changing the Height of the Navigation area*/

height: 35px !important; background-image: none !important; background-color: #3e5a8b !important; min-height: 35px !important; }
 * 1) navigation {

/* KILLING THE TOP LINKS! */

display: none !important; }
 * 1) NavigationWelcomeLogo {

/* KILLING THE LOGO! */

display: none !important; }
 * 1) Logo img {

/* IM IN UR HORIZON, KILLIN UR USERPIC */

display: none !important; }
 * 1) Userpic {

/* Changing the Height of the Navigation Bar*/

height: 35px !important; }
 * 1) NavBar {

/* Pushing the Content of the page Upwards*/

top: 60px !important; }
 * 1) Content {

Matching the Content of your Pages with your Horizon Theme
Putting this here till we find a better place for it.

MyLJ
CSS reference: http://stat.livejournal.com/portal/XColibur.css

/* Customize MyLJ */

/* Add Content Module button */

background: #6699cc url(http://pics.livejournal.com/veroz/pic/00051xwq) no-repeat 4% 50% !important; }   background-color: #003366 !important; }
 * 1) AddPortalMenuButton {
 * 1) AddPortalMenuButton:hover {

/* Box Headers */

.PortalBoxTitleBar { background-color: #6699cc !important; color: #fff !important; }

/* First Line in Tables (where you have the Column Titles) */

.PortalTableHeader td { background-color: #79b7f6 !important; color: #fff !important; }

/* Rows */

.PortalRow2 td { border: 1px solid #dfecfa !important; }

.PortalRow1 td { border: 1px solid #dfecfa !important; }

.PortalRow1:hover, .PortalRow2:hover { background-color: #dfecfa !important;   /*  Cell Background Color on Hover */ }

Profile, Entry/Comment, and Edit Journal Style
CSS reference: http://stat.livejournal.com/horizon/screen.css

/* Customize Profile, Entry/Comment, and Edit Journal Style */

/* Top Box with All the Little Icons and other 'Standout' boxes */

.standout .container { color: #000 !important; background-color: #c5dff9 !important; border: 1px solid #8fc3f7 !important; }

Edit Profile
CSS reference: http://stat.livejournal.com/lj_settings.css

/* Customize Edit Profile */

/* Section Headers */

.section_head { color: #036 !important; background-color: #c5dff9 !important; border: 1px solid #8fc3f7 !important; }

Edit Userpics
CSS reference: http://stat.livejournal.com/lj_base-app.css, http://stat.livejournal.com/editpics.css

/* Customize Edit Userpics */

/* Upload Box */

background-color: #c5dff9 !important; border: 1px solid #8fc3f7 !important; }
 * 1) uploadBox {

/* Line Between Each Userpic */

hr.hr { color: #8FC3F7 !important; background-color: #8FC3F7 !important; }

Edit Journal Style
CSS reference: http://stat.livejournal.com/customize.css

/* Customize Edit Journal Style */

/* Main Bar */

border-bottom: 2em solid #69c !important; }
 * 1) Tabs {

/* Unselected Tabs */

border: 2px solid #69c !important; background: #ddd; }
 * 1) Tabs li {

color: #000 !important; }
 * 1) Tabs li a {

/* Selected Tabs */

background-color: #69c !important; color: #fff !important; }
 * 1) Tabs li.SelectedTab {

/* Box Border*/

border: 1px solid #69c !important; }
 * 1) CurrentTab {

Community Management
CSS reference: http://stat.livejournal.com/lj_base-app.css

/* Customize Community Management */

/* Main Bar */

table.alternating-rows th { border-top: 1px solid #8FC3F7 !important; border-bottom: 1px solid #8FC3F7 !important; background-color: #C5DFF9 !important; }

/* First Row*/

table.alternating-rows tr.altrow1 { background-color: #fff !important; }

/* Second Row */

table.alternating-rows tr.altrow2 { background-color: #eee !important; }

/* Border for Each Row */

table.alternating-rows td { border-bottom: 1px solid #ccc !important; }

Width Issues
Don't know about you but I have a wide screen resolution (1280x800) and some pages have so much wasted white space it's not even funny. Let's make that better.

CSS References: http://stat.livejournal.com/entry.css, http://stat.livejournal.com/horizon/screen.css

Wide and Centered Update Page
/* Wide and Centered Update Page */

max-width: 1000px !important; margin-left: 100px !important;   /*Needs to be adjusted */ }
 * 1) updateForm {

width: 1000px !important;  /*Same as above */ }
 * html #updateForm {

margin-left: 100px !important;  /*Same as above */ }
 * 1) Content h1 {

Wide and Centered Mini-SiteMap
/* Wide and Centered Mini-SiteMap */

width: 1000px !important; }
 * 1) MiniSiteMapWrapper {

CSS References
http://stat.livejournal.com/horizon/screen.css

http://stat.livejournal.com/horizon/layout.css

http://stat.livejournal.com/horizon/horizontal.css

http://stat.livejournal.com/horizon/loggedout.css

Images References
http://stat.livejournal.com/stc/horizon/topbar-bg.png (Background Gradient)

http://stat.livejournal.com/stc/horizon/toplevel-bg.png (Background for the menus)

http://stat.livejournal.com/horizon/logo.gif (LJ Logo when logged in)