Dropdown Menu

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1011
    danrippon
    Customer

      Hi there!
      Building a site using the theme, and I noticed that the WordPress Menu Name is presented as an option in the Dropdown Menu when viewed on a smartphone / tablet / resized browser. Any way to prevent this from showing?

      Cheers
      Dan

      #1012
      Wes
      Moderator

        Yes you can. Here is the plugin that is being used – http://wordpress.org/extend/plugins/dropdown-menus/ The documentation is in the read-me file inside of your lib folder of the theme, and can also be found on the plugin site as well. The code/function was added in the functions.php file so you can customize it however you would want it to be displayed.

        /** Dropdown Menu */
        add_action( 'genesis_after_header', 'drop_menu');
        function drop_menu() {
        	echo '<div class="drop-menu">';
        	dynamic_sidebar( 'dropdown-menu' );
        	echo '</div><!-- end .drop-menu -->';
        }
        #1013
        danrippon
        Customer

          Yep that worked a treat, thanks Wes!

          Cheers
          Dan

          #1014
          Wes
          Moderator

            You’re Welcome!

            #1016
            Wes
            Moderator

              Also, to answer your other question (from the email)

              I mistakenly added a “clear: both;” to “entry-content p” on line 942 in the style.css file. If you remove the “clear: both;” it will work properly.

              .entry-content p {
              clear: both;
              }

              Let me know if that works.

              #1018
              danrippon
              Customer

                Hi Wes,
                Yup, that fixed it. 馃檪

                Thanks!
                Dan

                #1019
                Wes
                Moderator

                  You’re Welcome

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘Dropdown Menu’ is closed to new replies.