How do I get the ORANGE header menu bar plus error !
You have a fantastic theme there.
I installed it and I have 2 clarifications
1) How do I install or activate the ORANGE menu bar in the header ?
2) I keep getting the error Fatal error: Cannot access empty property in /home/drupal/themes/publisher/page-front.tpl.php on line 53
Thanks
Chris
Hello,
Activate menu with activation of secondary links
1. Activate menu with activation of secondary links
Regarding first query, please replace this following code in your style.css file:
/*
** menu
*/
#header ul#menu {
position: relative;
float: left;
list-style: none;
width: 927px;
margin: 136px 0 0 13px;
padding: 0 0 0 15px;
background: transparent url("images/menu_background.png") no-repeat 0 0;
}
#header ul#menu li {
float: left;
position: relative;
z-index: 4;
margin-left: -1px;
background: transparent url("images/separator_0.png") no-repeat 100% 50%;
}
#header ul#menu li.last {
background-image: none;
}
#header ul#menu li a {
display: block;
padding-left: 10px;
color: #FFFFFF;
text-decoration: none;
font-weight: 700;
}
#header ul#menu li a span {
display: block;
padding-right: 13px;
line-height: 45px;
cursor: pointer;
}
#header ul#menu li a.submenu, #header ul#menu li a:focus, #header ul#menu
li a:hover {
background: transparent url("images/menu_item_on_start.png") no-repeat 0
100%;
color: #214361;
text-decoration: none;
}
#header ul#menu li a.submenu span, #header ul#menu li a:focus span,
#header ul#menu li a:hover span {
background: transparent url("images/menu_item_on_end.png") no-repeat 100%
100%;
}
#header ul#menu li ul {
position: absolute;
left: -999em;
list-style: none;
width: 197px;
margin:0px;
padding:0px;
}
#header ul#menu li ul li ul {
margin: 0px 0 0 0;
}
#header ul#menu li ul li ul {
margin: 0px 0 0 0;
}
#header ul#menu li ul li {
float: left;
width: 197px;
margin: 0;
background: #FFFFFF url("images/submenu_middle.png") repeat-y 0 0;
}
#header ul#menu li ul li.last {
padding: 0 0 15px 0;
background: transparent url("images/submenu_bottom.png") no-repeat left
bottom;
float: left;
width: 197px;
margin: 0;
}
#header ul#menu li ul li a {
padding: 0 20px;
border-bottom: 1px solid #E8ECEF;
background: none;
color: #214361;
font-size: .91em;
font-weight: 700;
line-height: 2.5;
}
#header ul#menu li ul li a:focus, #header ul#menu li ul li a:hover {
background: none;
color: #EC6109;
text-decoration: underline;
}
#header ul#menu li ul li.last a {
border-bottom: none;
}
#header ul#menu li:hover ul {
left: -1px;
display:block;
z-index: 50;
}
#header ul#menu li ul li ul{
top:0px;
left:196px;
z-index:50px;
display:none;
}
#header ul#menu li:hover ul li ul{
padding:4px 0 0 0;
display:none;
}
#header ul#menu li:hover ul li:hover ul li ul,
#header ul#menu li:hover ul li:hover ul li:hover ul li ul,
#header ul#menu li:hover ul li:hover ul li:hover ul li:hover ul li ul{
padding:4px 0 0 0;
margin-top:-4px;
display:none;
}
#header ul#menu li:hover ul li:hover ul,
#header ul#menu li:hover ul li:hover ul li:hover ul,
#header ul#menu li:hover ul li:hover ul li:hover ul li:hover ul,
#header ul#menu li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul{
display:block;
left:196px;
background:url(images/submenu_top.png) no-repeat left top;
z-index:9999;
}
#header ul#menu li ul li a.submenu:focus,
#header ul#menu li ul li a.submenu:hover,
#header ul#menu li ul li a.submenu:visited,
#header ul#menu li ul li a.submenu:link{
color:#EC6109;
text-decoration:underline; background: none;
display:block;
}
#header ul#menu li ul li.menuparent a:focus,
#header ul#menu li ul li.menuparent a:hover,
#header ul#menu li ul li.menuparent a:visited,
#header ul#menu li ul li.menuparent a:link{
background: transparent url("images/arrow_0.png") no-repeat 90% 50%;
}
#header ul#menu li ul li.menusubmenu a:focus,
#header ul#menu li ul li.menusubmenu a:hover,
#header ul#menu li ul li.menusubmenu a:visited,
#header ul#menu li ul li.menusubmenu a:link{
background: none;
}
and please add this css code in
style_ie6.css for the Internet explorer.
#header ul#menu li.hover ul {
left: -1px;
display:block;
z-index: 50;
}
#header ul#menu li.hover ul li ul{
padding:4px 0 0 0;
display:none;
}
#header ul#menu li.hover ul li.hover ul li ul,
#header ul#menu li.hover ul li.hover ul li.hover ul li ul,
#header ul#menu li.hover ul li.hover ul li.hover ul li.hover ul li ul{
padding:4px 0 0 0;
margin-top:-4px;
display:none;
}
#header ul#menu li.hover ul li.hover ul,
#header ul#menu li.hover ul li.hover ul li.hover ul,
#header ul#menu li.hover ul li.hover ul li.hover ul li.hover ul,
#header ul#menu li.hover ul li.hover ul li.hover ul li.hover ul li.hover ul{
display:block;
left:196px;
background:url(images/submenu_top.png) no-repeat left top;
z-index:9999;
}
Additionally, please replace the template.php file in publisher theme's folder on your drupal installation. You can download the file from the following link
http://dev.webserver9.com/publisher1/template... This should solve your problem. However, if you still face any, please get back to us.
Regarding second query, please provide us with the username and password of your site and we will resolve this issue.
I am having the same problem reported by user chennaichris. I tried your suggestions, but it still is not working.
Hi, thanks for the wonderful theme, but I am having the same problem with the Orange header menu bar not showing. I followed the steps you outlined above.
1. I copied the new code into style.css
2. I downloaded and copied over the template
Still wont' show. Any help would be appreciated. Thanks!
Please get back to us with the URL of your website and also the admin login details. Once we have this information, we will be able to assist you further.
