WordPress.org

Ready to get started?Download WordPress

Forums

Oulipo Vertical to Horizontal Nav / Menu Bar (1 post)

  1. etrethegirls
    Member
    Posted 1 year ago #

    I'm trying to convert Oulipo's vertical nav bar to a horizontal one, but it doesn't look like it's as simple as everyone makes it to be. I can't do it through CSS alone, it looks like, since there's some javascript that overrides any format change in CSS or plugin. I'm a total newbie, so any input or help would be very appreciated!

    This post is mostly for those who have dealt with the Oulipo theme, since I can't locate the specific function for the main_nav. In the theme's functions.php, this is the only thing related:

    add_action( 'init', 'register_oulipo_menus' );
    function register_oulipo_menus() {
    register_nav_menus(
    array(
    'main-menu' => __( 'Main Navigation Menu' )
    )); } }

    The only other reference to the main nav is in the header.php file, where the action is called:

    <div id="main_nav">
    <span class="header_image" onclick="location.href='http://etrethegirls.com/';" style="!important;
    cursor: pointer;" title="HOME"></span>
    <?php if ( has_nav_menu( 'main-menu' )) : ?>
    <?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'container' => '' )); ?>
    <?php else: ?>
    <ul class="menu">
    <?php wp_list_pages('title_li=&depth=2'); ?>

  2. ">Feed
  3. <?php endif; ?>

    Website: http://etrethegirls.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags