WordPress.org

Ready to get started?Download WordPress

Forums

BirdTIPS
custom menu changes format and font (5 posts)

  1. karenelated
    Member
    Posted 1 year ago #

    Hi I'm trying to add a custom menu with anchors in the dropdown navigational menu placed horizontally on the header banner, but when selected the menu font changes and it becomes a jumble of items in a somewhat vertical, superimposed catastrophe. Can anyone help please? I thought this was a simple standard option available with the theme. But I also haven't been able to find a current menu widget that inserts anchors. Anyone have any ideas please?

    http://wordpress.org/extend/themes/birdtips/

  2. schmax
    Member
    Posted 1 year ago #

    I'm not sure if we had the same problem. I solved my problem today by changing the header.php file. (Design -> Editor -> choose "header.php" on the right list).

    The problem in my understanding is, that layout for the menu as defined in the CSS is only used for 2nd level. In order to use this layout for the whole menu the definiton has also to be used for the container class. So I added this to the call of wp_nav_menu in the header.php.

    In detail: I replaced in the header.php the old call
    <?php wp_nav_menu( array( 'theme_location' => 'primary' ) );?>

    with this one:
    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu' ) ); ?>

    Now I can assign my own generated menu and add it to the Primary Nav Menu of the BirdTIPS Theme and it looks fine.

    Hope it helps.

  3. karenelated
    Member
    Posted 1 year ago #

    Yes, that's fixed it! Thanks so much Schmax!

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Make sure you transfer changes to all theme's files to a Child Theme to avoid losing your changes when you update the theme.

  5. schmax
    Member
    Posted 1 year ago #

    @Andrew: Good point. However, my hope that the author of the theme will integrate this for new version. In my view it is currently a bug.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags