• Resolved DougBoss

    (@dougboss)


    I had some help creating a custom theme based on 2019
    The developers on Freelancer.com dont understand child themes at all …but thats a rant for a different day

    Can anyone here help me center the header menu text ?

    Ive tried adding “additional css” its ignored –

    i think the trouble is here from header.php is

    
    $args = array( 'menu' => '114th', 
        		'container' => '', 
        		'container_class' => '', 
        		'container_id' => '', 
        		'menu_class' => 'main-menu nav navbar-nav navbar-right', 
        		'menu_id' => '',
        		'echo' => true, 
        		'fallback_cb' => 'wp_page_menu', 
        		'before' => '', 
        		'after' => '', 
        		'link_before' => '', 
        		'link_after' => '<span class="weather-sub-menu"><i class="fa fa-angle-down"></i></span>', 
        		'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>', 
        		'item_spacing' => 'preserve',
        		'theme_location' => 'Primary Menu' );
        		wp_nav_menu( $args ); 
            ?>
        </nav>
    

    the text inst centered and for some reason they have hard coded the menu name

    Thanks in advance

    • This topic was modified 5 years, 7 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    and the mobile menu are the next items to address

    Is that an issue that’s come about with the centring menu fix?

    Thread Starter DougBoss

    (@dougboss)

    No it predates the centering

    In Mobile the drop downs don’t work

    Thread Starter DougBoss

    (@dougboss)

    you have been awesome – thanks so much

    I feel bad that I didnt read the top lines of the JS file … LOL

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘help centering menu’ is closed to new replies.