WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: El Mik@ on June 12, 2009, 09:43:10 PM

Title: Menu_Current problem with new installation
Post by: El Mik@ on June 12, 2009, 09:43:10 PM
Hello,

I just installed WebsiteBaker and "converted" our archery club's website to WB template.

I have one problem, menu_current image doesn't show up and I can't figure what's the problem.

Our old site is located here (normal html, css site):
http://yhdistykset.jns.fi/joutsi

If you test the menu there, you can see that current page link in the menu is red.

When you test the new WB site you can see that current page link isn't red:
http://www.joutsi.info

Does someone know what is the problem here?

Menu's CSS code:
Code: [Select]
#menu_default{
    text-align: center;
    background: url(kuvat/menu-middle.png) repeat-y;
    float:left;
    width:120px;
}

#menu_default  ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu_default img {
    height: 115px;
    display: block;
    margin-right: 4px;
    margin-left: 4px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #e6e6e6;
}

#menu_default  a {
    height: 20px;
    display: block;
    padding-top: 5px;
    margin-right: 4px;
    margin-left: 4px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #e6e6e6;
}

#menu_default  a:hover {
    color: #ffff00;
    background: url(kuvat/menu-red.png);
}

#menu_default  #current {
    color: #fafafa;
    background: url(kuvat/menu-red.png);
}

Title: Re: Menu_Current problem with new installation
Post by: Ruud on June 12, 2009, 10:43:00 PM
Hi, welcome to the WebsiteBaker community.

If you change:
Code: [Select]
#menu_default  #current {
    color: #fafafa;
    background: url(kuvat/menu-red.png);
}
to
Code: [Select]
#menu_default  .menu_current {
    color: #fafafa;
    background: url(kuvat/menu-red.png);
}
it should work fine.

Ruud
Title: Re: Menu_Current problem with new installation
Post by: El Mik@ on June 13, 2009, 09:28:20 PM
Thanks! That worked  :-)