• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Secondary Menu Drop Down Horizontal Instead of Vertical

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Secondary Menu Drop Down Horizontal Instead of Vertical

This topic is: not resolved

Tagged: drop down menu, menu, sub menu

  • This topic has 5 replies, 2 voices, and was last updated 7 years, 10 months ago by jono.cusack.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 6, 2014 at 10:31 pm #117514
    jono.cusack
    Member

    Hi,

    How do I make the drop down menu entitled 'Destinations' in my Secondary Menu appear horizontal instead of vertical.

    Cheers

    Jono

    http://www.seesomething.com.au
    August 7, 2014 at 12:08 am #117522
    WisdmLabs
    Member

    Hey,
    I did check out site.
    try adding following in your child-theme's style.css

    /* For horizontal secondary menu drop down */
    .genesis-nav-menu.menu-secondary .sub-menu{
          width: auto;
    }
    .menu-secondary .sub-menu .menu-item{
          float: left;
    }
    

    This will override the property where the width of the drop-down is restricted and sets the drop-down items to align next to each other.


    http://wisdmlabs.com/

    August 7, 2014 at 11:12 am #117598
    jono.cusack
    Member

    Yep that works thanks, but now Ive realised that the selections are too big. How do I change the size of the them? Also how to do I change the font, font size and the colour of the background of the selection buttons?

    I've left it as is so you can check it out.

    Thanks!

    Jono

    August 8, 2014 at 2:57 pm #117818
    jono.cusack
    Member

    I was wondering if you had found a solution here yet?

    Cheers!

    Jono

    August 11, 2014 at 7:04 am #118173
    WisdmLabs
    Member

    Hey Jono,
    For changing the width of the dropdown-menu you will have to change the following properties.

    .genesis-nav-menu .sub-menu a{
       width:           ; /* You can enter the width in pixels or keep it auto. Ex: 125px or auto */
       font-size:      ; /* Enter the font-size in pixels or percentage  */
       background-color:     ; /* Enter color in hex codes or in rgb values , refer
     https://developer.mozilla.org/en-US/docs/Web/CSS/background-color  */
    }

    For fonts I would suggest choosing a font from google fonts (http://www.google.com/fonts)
    This article explains very nicely how to add google fonts on genesis powered site. http://www.studiopress.com/tips/google-web-fonts.htm


    http://wisdmlabs.com/

    August 11, 2014 at 6:37 pm #118305
    jono.cusack
    Member

    Thanks so much mate!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble