sabutay (@sabutay)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • In reply to: k2 for bbpress

    I make a little modify now, to shown the current_page_item in the header. Just add a class to the < li > function, which belongs to the Forum. Like :

    <li class="current_page_item"><a href="http://www.mainpage.com/forum">Forum</a

    See in action:

    http://www.ahumder.org

    then click on forum, you will see that the background changes to white.

    You are able to change the color in the style.css

    In reply to: k2 for bbpress

    I’ve made a little modification, i add a tab-line in the header.php, just like the same as k2 theme.

    You can see it here:

    http://www.ahumder.org/forum

    For modification, first put these lines in the style.css

    /*- Main Menu in Header */

    ul.menu {

    margin: 0;

    padding: 0;

    position: absolute;

    bottom: 0;

    left: 20px;

    width: 90%;

    }

    ul.menu li {

    display: inline;

    margin: 0;

    }

    ul.menu,

    ul.menu li a {

    padding: 5px 15px 6px;

    }

    ul.menu li a {

    font-size: 1em;

    color: white;

    margin: 0;

    }

    ul.menu li a:hover {

    background: #333;

    color: #eee !important;

    text-decoration: none;

    }

    ul.menu li.current_page_item a,

    ul.menu li.current_page_item a:hover {

    color: #333 !important;

    background: white;

    text-decoration: none;

    }

    .admintab {

    position: absolute;

    right: 0px;

    }

    * html .admintab { padding: 5px 15px 6px } /* IE hack */

    a img,:link img,:visited img { border:none }

    After that put these lines into header.php. But changes the href lines to your site.

    <ul class="menu">

  • Ana Sayfa
  • Forum
  • Resimler
  • Duyuru Listesi
  • İletişim
  • Hope it’s useful for you, and linickx may be you could add this mod to your style.css

Viewing 2 replies - 1 through 2 (of 2 total)