• 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

Making the mobile navigation longer

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 › Making the mobile navigation longer

This topic is: not resolved

Tagged: mobile, navigation, responsive

  • This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by Erika.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 21, 2018 at 9:49 am #218195
    Lukexm
    Member

    Hey guys!

    I'm currently working with the monochrome pro theme and the Blox Lite plugin in order to display a full width header on some posts. It's working fine but.....there's one little problem. The navigation on mobile devices is too short as you can see in the picture below.

    Is there a way to fix this issue?

    Thanks a lot for your help!

    Navigation is too short

    March 21, 2018 at 10:37 am #218200
    Erika
    Participant

    Hi Lukexm,

    Please post a link to your site if possible.

    March 21, 2018 at 11:58 am #218209
    Lukexm
    Member

    Hey Erika,

    the post that I talked about is in draft mode but I can post the css I used.

    The child theme's css for this specific post:


    @media
    only screen and (max-width: 1023px) {

    .postid-5454 #genesis-mobile-nav-primary {
    background-color: #transparent;
    color: #fff;
    }
    }

    @media
    only screen and (min-width: 1023px) { .postid-5454 .content {
    width: 950px;
    }
    }


    @media
    only screen and (min-width: 1023px) { .postid-5454 .entry-content { color: #333 !important; font-family: 'Lora', serif !important;font-size: 20px !important; padding-left: 125px !important; padding-right: 125px !important; }
    }
    .postid-5454 .full-width-content.featured-image .site-inner { margin-top: 0px !important; }
    .postid-5454 .entry-header { margin-bottom: 200px !important; }
    .postid-5454 .site-inner { background: transparent !important; }
    .postid-5454 h1 {
    color: #fff !important;

    }
    .postid-5454 h1.entry-title { font-size: 45px;
    font-size: 4.5rem;
    font-weight: 600 !important;
    letter-spacing: normal;
    text-transform: uppercase;;

    }
    .postid-5454 .entry-header .entry-categories a { color: #fff;font-family: Helvetica Neue !important; font-weight: 500;background-color: #000; padding:8px 16px ;letter-spacing: 1px;font-size:14px }
    .postid-5454 .entry-categories { margin-bottom: 20px; }
    .postid-5454 .entry-meta a { color: #fff; }
    .postid-5454 .entry-header::after {
    border-bottom: 0.5px solid #fff;
    width: 5%; }

    .postid-5454 .site-header {
    background-color: transparent !important;
    border-bottom: 0.5px solid transparent;
    min-height: 80px;
    padding: 10px 40px;
    top: 0;
    width: 100%;
    z-index: 9999;
    }
    .postid-5454 .site-header { background-color: #000 !important;
    width: 100%;
    z-index: 999; }
    }


    @media
    only screen and (max-width: 600px) {
    .postid-5454 h1.entry-title { font-size: 45px;
    font-size: 3rem;
    font-weight: 600 !important;
    letter-spacing: normal;
    text-transform: uppercase;;

    }
    }

    And here's the custom html and css for the plugin:
    (I used “genesis_after_header" as the position)

    <div style="margin-bottom: -525px;margin-top: -150px;" class="blogimage blogheader"> </div>

    .blogimage { background-image: url("https://strongerr.de/wp-content/uploads/2018/03/red-only.jpg"); padding-top:80px; padding-bottom:150px; padding-left:15px; padding-right:15px;margin: 0 auto;height:600px;background-color: rgba(0, 0, 0, 0.2);background-size: cover; }


    @media
    only screen and (max-width: 600px) { .blogimage { margin-top: -100px;height:500px;padding-bottom: 200px; } }

    The navigation should be transparent on mobile and when you open it, it should be dark. I hope you know what I mean 😀
    If that's not possible the navigation will stay dark all the time - I hope that I can do this by myself.

    March 24, 2018 at 7:39 pm #218310
    Erika
    Participant

    Sorry I didn't get back sooner! I'm afraid that's quite a bit of code to go through and I can't easily target the problem without inspecting the site itself. If you can reply back when the post is published, that would work!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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