WordPress.org

Ready to get started?Download WordPress

Forums

Menu location issue (1 post)

  1. jessievegan
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to change the alignment of the Pinboard menu to be on the right instead.
    The generating menu code is:

    <div class="clear"></div>
    			<nav id="access">
    				<a class="nav-show" href="#access">Show Navigation</a>
    				<a class="nav-hide" href="#nogo">Hide Navigation</a>
    				<?php wp_nav_menu( array( 'theme_location' => 'primary_nav' ) ); ?>
    				<div class="clear"></div>
    			</nav><!-- #access -->

    and the CSS of 'nav-show' is:

    #access .nav-show,
    	#access a.nav-show:hover {
    	        position:absolute;
    		top: 93px;
    		right: 14%;
    		display:block;
    		width: 40px;
    		height: 32px !important;
    		padding: 0;
    		background: url(images/nav.png) no-repeat;
    		border: none;
    		text-indent: -1000px;
    		overflow: hidden;
    	}

    What do you reccomend?

    Thanks in advance
    Jessie

Topic Closed

This topic has been closed to new replies.

About this Topic