ThemeShaper Forums » Thematic


Styling page and category menu tabs together in one menu

(1 post)
  • Started 10 years ago by -sb
  • This topic is not resolved
  1. -sb

    Hi All,

    I found some very useful examples here --

    Here is the code I added to my functions.php based on one of the examples:

    function add_childtheme_news_menu($args) {
    	$categories = wp_list_categories('echo=0&include=4,11&title_li=<li><a href="#">News</a>&depth=1');
    	$args .= $categories . '</li>';
    	return $args;
    function add_childtheme_forms_menu($args) {
    	$categories = wp_list_categories('echo=0&include=16&title_li=<li><a href="#">Forms</a>&depth=1');
    	$args .= $categories . '</li>';
    	return $args;

    Now I almost have exactly the kind of menu I was looking for.

    However, I cannot figure out how to make category tabs "hide" the bottom border when the tabs are active (just like the page tabs do in Thematic menu). I know that border-bottom-color:#fff; in default.css is responsible for this, but it only works for the page tabs and not the category tabs.

    Any help will be greatly appreciated.

    Thank you.


    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.