Forums

Categories menu item formatting (6 posts)

  1. will.r.robinson
    Member
    Posted 3 weeks ago #

    I have created a template using Artisteer 2 and wanted to add a Categories drop-down menu item to the hoizontal menu under the header. I have been able to add the Categories menu item just fine, but it is not accepting the formatting of the other menu items (text should be white, not black; hover should be yellow, not gray). The submenu items are formatted correctly though. The other menu item that work correctly are all pages.

    How do I get the added menu item to accept the formatting of the other menu items.

    Here is the code I used to insert the Categories menu item:

    <div class="art-nav">
    	<div class="l"></div>
    	<div class="r"></div>
    	<ul class="art-menu">
    		<?php art_menu_items(); ?>
                    <?php wp_list_categories(); ?>
    
    	</ul>
    </div>

    Thanks a lot!

  2. esmi
    Member
    Posted 3 weeks ago #

    A link to your site might help...

  3. will.r.robinson
    Member
    Posted 3 weeks ago #

    Sorry about that. www.22photography.com/blog

  4. will.r.robinson
    Member
    Posted 3 weeks ago #

    I would also like to know how to insert my search bar into the menu as well, but that may be a bit over my head. If you have an easy way, I'm all ears!

  5. esmi
    Member
    Posted 3 weeks ago #

    Try changing:

    .art-menu a .t {
    color:#FFFFFF;
    font-family:Tahoma,Arial,Helvetica,Sans-Serif;
    font-size:12px;
    font-style:normal;
    font-weight:normal;
    line-height:24px;
    margin:0 0;
    padding:0 22px;
    text-align:center;
    }

    to

    .art-menu a .t, .art-menu .categories {
    color:#FFFFFF;
    font-family:Tahoma,Arial,Helvetica,Sans-Serif;
    font-size:12px;
    font-style:normal;
    font-weight:normal;
    line-height:24px;
    margin:0 0;
    padding:0 22px;
    text-align:center;
    }

    in style.css

    To add the search form, try adding <li><?php get_search_form(); ?></li> immediately after <?php wp_list_categories(); ?>.

  6. realive1
    Member
    Posted 1 week ago #

    I would ALSO like to add a category list to my menu bar with a theme I created in Arteseer.

    WHERE do you insert the code that you used (will)

    and where to do change the code as described in esmi post

Reply

You must log in to post.

About this Topic