Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Add text in Category Bar (http://forum.bytesforall.com/showthread.php?t=1315)

bg74blogger Apr 18, 2009 07:44 AM

Add text in Category Bar
 
Hello,

is it possible to add a hardcoded text in the category menu bar?

I am using Atahualpa Theme for Wordpress, my URL is http://www.veilchen-blog.de

There is a screenshot for better understanding:

http://img12.myimg.de/screenshot1201f_thumb.jpg

It would be very cool to add a text at this position, I hope you can help me.

Thank you
Sven

Flynn Apr 19, 2009 07:29 AM

In bfa_header_config.php replace
PHP Code:

    $page_menu_bar .= '</ul></div>' "\n";
    
// END of Page Menu Bar 

with

PHP Code:

    $page_menu_bar .= '</ul>

<div id="header-links">
<a href="link">Link</a> | <a href="link">Link</a> | 
<a href="link">Link</a> | <a href="link">Link</a> 
</div>

    </div>' 
"\n";
    
// END of Page Menu Bar 

and

PHP Code:

    // Page Menu Bar 
    
$page_menu_bar '<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n"

with

PHP Code:

    // Page Menu Bar 
    
$page_menu_bar '<div class="clearfix" id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n"

And add a CSS Insert:

HTML Code:

/* Put the border on the parent div container so
it wraps both the menu bar and the new links */
div#menu1 {
border: 1px dashed #cccccc;
}
/* remove the border from the Page Menu bar */
ul#rmenu2 {
border: none;
float: left;
width: 700px;
}
/* new container for new links */
div#header-links {
width: 250px;
float: right;
}



All times are GMT -6. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.