Hi everybody, after a while I thought I had it figured out but I ran into this problem…I have spacing issues (AGAIN!) with this:
See how there is a white space on the left and bottom side of the menu? (not the black area, the small white strips on the left and bottom of the menu) It’s about 4 pixels on both the left and bottom sides and I have NO IDEA why. It’s about to drive me nuts…
Here is the css to the toolbar if anyone can help!
#community-wrap .cToolbarNav + #miniheader,
#community-wrap .cToolbar + #miniheader {
margin-top: -10px;
}
/**
* Jom Social Toolbar
*/
body #community-wrap #cToolbarNav {
background: transparent url(../images/toolbar/toolbar-bg.gif) no-repeat 0 0;
height: 50px;
margin: 0 0 10px;
padding: 0;
}
body #community-wrap #cToolbarNav ul {
list-style: none;
line-height: 1;
z-index: 6600;
position: relative;
}
body #community-wrap #cToolbarNavInner {
background: transparent url(../images/toolbar/toolbar-bg.gif) no-repeat 100% -50px;
height: 50px;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList {
height: 50px;
padding: 0 0 0 10px;
margin: 11px 0 0;
float: left;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li {
float: left;
background: none;
line-height: 27px;
margin: 11px 0 0 3px !important;
background: transparent url(../images/toolbar/toolbar-item-off-left.gif) no-repeat top left;
list-style-position: outside;
list-style-type: none;
overflow: visible; /* Fixes templates with overflow: hidden on <li>, e.g. JA_Seleni */
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li a {
display: block;
padding: 0 14px;
color: #fff;
text-decoration: none;
background: transparent url(../images/toolbar/toolbar-item-off-right.gif) no-repeat top right;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li a:hover {
color: #fff;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active {
float: left;
background: none;
line-height: 27px;
margin: 11px 0 0 3px;
background: transparent url(../images/toolbar/toolbar-item-on-left.gif) no-repeat top left;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active a {
display: block;
/* padding: 0 20px; */
color: #fff;
text-decoration: none;
background: transparent url(../images/toolbar/toolbar-item-on-right.gif) no-repeat top right;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active div {
background: #789539;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active div a:link,
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active div a:visited {
background: #789539;
border-bottom: solid 1px #8cae44;
width: 90%;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active div a:hover {
background: #97bb48;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li div {
position: absolute;
visibility: hidden;
margin: 0;
padding: 0;
background: transparent;
width: 150px;
z-index: 10;
overflow: hidden;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li div a {
position: relative;
display: block;
float: left;
margin: 0;
padding: 5px 10px;
width: 100%;
white-space: nowrap;
text-align: left;
text-decoration: none;
background: #444;
color: #fff;
border-bottom: solid 1px #666;
line-height: normal;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li div a:hover {
background: #555;
color: #fff;
}
body #community-wrap #cToolbarNav div.toolbar-myname {
float: right;
height: 40px;
line-height: 40px;
font-weight: 700;
margin-right: 20px;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li.toolbar-active div a.has-separator {
border-bottom: solid 3px #8cae44;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li div a.has-separator {
border-bottom: solid 3px #666;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li#toolbar-item-notify {
background: transparent url(../images/toolbar/toolbar-item-notify-off-left.gif) no-repeat top left;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li#toolbar-item-notify a {
background: transparent url(../images/toolbar/toolbar-item-notify-off-right.gif) no-repeat top right;
}
body #community-wrap #cToolbarNav ul#cToolbarNavList li#toolbar-item-notify span {
font-size: 11px;
height: 27px;
line-height: 17px;
display: block;
padding-left: 2px;
text-decoration:none;
color:#FFFFFF;
}
/**
* Jom Social Toolbar
*/
/**
* New toolbar styling
*/
#community-wrap .cToolbar {
background: transparent url(../images/toolbar.png) no-repeat 0 0;
height: 50px;
padding-left: 10px;
margin-bottom: 10px;
}
/* 1.5 Compatibility. Remove when not used */
body #community-wrap .cToolbar#cToolbarNav {
background: transparent url(../images/toolbar.png) no-repeat 0 0 !important;
height: 50px !important;
padding-left: 10px !important;
margin-bottom: 0px !important;
line-height: normal !important;
}
#community-wrap .cToolbar .cToolbar {
background-position: 100% 0;
height: 40px;
padding: 10px 0 0;
margin: 0;
}
/* 1.5 Compatibility. Remove when not used */
body #community-wrap .cToolbar#cToolbarNav .cToolbar {
background-position: 100% 0 !important;
height: 40px !important;
padding: 10px 0 0 !important;
margin: 0 !important;
}
#community-wrap .cToolbar ul {
list-style: none;
}
/* 1.5 Compatibility. Remove when not used */
body #community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList {
float: none !important;
height: 28px !important;
margin: 0 !important;
padding: 0 !important;
line-height: auto !important;
}
#community-wrap .cToolbar ul,
#community-wrap .cToolbar ul li,
#community-wrap .cToolbar ul li a {
height: 28px;
}
#community-wrap .cToolbar ul li {
background: transparent url(../images/toolbar.png) no-repeat 0 -97px;
float: left;
padding: 0 0 0 12px;
margin-right: 3px;
position: relative;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li {
background: transparent url(../images/toolbar.png) no-repeat 0 -97px !important;
float: left !important;
padding: 0 0 0 12px !important;
margin: 0 !important;
margin-right: 3px !important;
position: relative !important;
line-height: normal !important;
list-style-image: none;
list-style-type: none;
list-style-image: none;
}
#community-wrap .cToolbar ul li a {
background: transparent url(../images/toolbar.png) no-repeat 100% -97px;
color: #fff;
display: block;
line-height: 28px;
padding: 0 12px 0 0;
text-decoration: none;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li a {
background: transparent url(../images/toolbar.png) no-repeat 100% -97px !important;
color: #fff !important;
display: block !important;
line-height: 28px !important;
padding: 0 12px 0 0 !important;
text-decoration: none !important;
border: none !important;
}
#community-wrap .cToolbar ul li a:focus {
outline-style: none;
}
#community-wrap .cToolbar ul li.toolbar-active {
background-position: 0 -60px;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li.toolbar-active {
background-position: 0 -60px !important;
}
#community-wrap .cToolbar ul li.toolbar-active a {
background: transparent url(../images/toolbar.png) no-repeat 100% -60px;
text-shadow: 0 1px 0 #506522;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li.toolbar-active a {
background: transparent url(../images/toolbar.png) no-repeat 100% -60px !important;
}
/** this is for logout link **/
#community-wrap .cToolbar ul li#toolbar-item-logout,
#community-wrap .cToolbar ul li#toolbar-item-logout a {
color: #333;
background: none;
padding: 1px 5px;
margin: 0;
height: auto;
line-height: normal;
float: right;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li#toolbar-item-logout,
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li#toolbar-item-logout a {
color: #333 !important;
background: none !important;
padding: 1px 5px !important;
margin: 0 !important;
height: auto !important;
line-height: normal !important;
float: right !important;
}
#community-wrap .cToolbar ul li#toolbar-item-logout a:hover {
text-decoration: underline;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li#toolbar-item-logout a:hover {
text-decoration: underline !important
}
#community-wrap .cToolbar ul li#toolbar-item-notify {
background-position: 0 -134px;
padding-left: 20px;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li#toolbar-item-notify {
background-position: 0 -134px !important;
padding-left: 20px !important;
}
#community-wrap .cToolbar ul li#toolbar-item-notify a {
background-position: 100% -134px;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li#toolbar-item-notify a {
background-position: 100% -134px !important;
}
#community-wrap .cToolbar ul li#toolbar-item-notify a span {
margin-top: -2px;
padding: 0 5px;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li#toolbar-item-notify a span {
margin-top: -2px !important;
padding: 0 5px !important;
display: inline !important;
font-size: inherit !important;
color: inherit !important;
height: auto !important;
line-height: 28px !important;
}
/** here we hide the submenu container bt default **/
#community-wrap .cToolbar ul li div {
position: absolute;
visibility: hidden;
z-index: 99999; /* make sure it always on top of everything */
left: 0;
width: 180px;
background: none;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList div {
position: absolute !important;
z-index: 99999 !important; /* make sure it always on top of everything */
left: 0 !important;
width: 180px !important;
background: none !important;
}
#community-wrap .cToolbar ul li div a {
background: #444;
padding: 2px 10px;
border-bottom: solid 1px #3d3d3d;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li div a {
background: #444 !important;
padding: 2px 10px !important;
border-bottom: solid 1px #3d3d3d !important;
}
#community-wrap .cToolbar ul li div a:hover {
background: #333;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li div a:hover {
background: #333 !important;
}
#community-wrap .cToolbar ul li div a.has-separator {
border-bottom: solid 2px #3d3d3d;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList div a.has-separator {
border-bottom: solid 2px #3d3d3d !important;
}
#community-wrap .cToolbar ul li.toolbar-active div a {
background: #789539;
border-bottom: solid 1px #708b35;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li.toolbar-active div a {
background: #789539 !important;
border-bottom: solid 1px #708b35 !important;
}
#community-wrap .cToolbar ul li.toolbar-active div a.has-separator {
border-bottom: solid 2px #708b35;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li.toolbar-active div a.has-separator {
border-bottom: solid 2px #708b35 !important;
}
#community-wrap .cToolbar ul li.toolbar-active div a:hover {
background: #93b746;
}
/* 1.5 Compatibility. Remove when not used */
#community-wrap .cToolbar#cToolbarNav ul#cToolbarNavList li.toolbar-active div a:hover {
background: #93b746 !important;
}