- This topic has 6 replies, 2 voices, and was last updated 10 years, 8 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The topic ‘Dropdown Menu’ is closed to new replies.
Home › Community Forums › Classik Theme Support › Dropdown Menu
Tagged: dropdown menu
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
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 -->';
}
Yep that worked a treat, thanks Wes!
Cheers
Dan
You’re Welcome!
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.
Hi Wes,
Yup, that fixed it. ๐
Thanks!
Dan
You’re Welcome