Forums

How to add CSS SLIDING DOORS menu to Simple Static Theme? (2 posts)

  1. sealyspeak
    Member
    Posted 4 months ago #

    Kind of new at all this so, sorry in advance for my ignorance, but I HAVE tried!

    I use the following code for the simple sliding doors CSS (below) which works in HTML, but when I come to add it to the menu in Simple Static Theme (http://atinymind.co.uk/test), well, I just don't know where to begin! Is it cheeky to ask this question? I just can't work out where to put the <span></span>? Or if it is a <span> class?

    All the below is in the CSS that works in HTML:

    [CSS code moderated - a link to your site is enough to access the styles]

    ... BUT, this bit below (I.E fix), again, I am not sure where & how to implement this:

    /* */ (I remove comment marks on my actual code by the way!)

    Below is the code from the header.php:

    [please read http://codex.wordpress.org/Forum_Welcome#Posting_Code for marking code]

    // Checking if there's anything in Top Menu
                    if ( has_nav_menu( 'top-menu' ) ) {
    
                        // If there is, adds the Top Menu area
                        wp_nav_menu( array(
                            'menu' => 'Top Menu',
                            'container' => 'div',
                            'container_class' => 'top-menu',
                            'theme_location' => 'top-menu',
                        ));
                    }
                ?>

    and the functions.php:

    // MENU AREA
    	// ---------
    	// Adding and defining the Menu area found in the header.php file
    	register_nav_menus( array(
    		'top-menu' => __( 'Top Menu', 'simple-static' ),
    		'bottom-menu' => __( 'Bottom Menu', 'simple-static' )
    	) );

    Could anyone help please?

    Many thanks

    Sealyspeak

  2. sealyspeak
    Member
    Posted 4 months ago #

    OK, the CSS code for the Sliding Doors is: http://pastebin.com/NfrjgdkB

    Sorry, forgot about the paste rule.

Reply

You must log in to post.

About this Topic