• 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

Search Bar Disappears When Viewed in Mobile

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 › Search Bar Disappears When Viewed in Mobile

This topic is: not resolved

Tagged: magazine, mobile responsive, search bar

  • This topic has 3 replies, 3 voices, and was last updated 11 years, 9 months ago by ontiversmo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 15, 2013 at 3:55 pm #62712
    ontiversmo
    Member

    I like having a search bar on my website, and I would like it even more if the search bar stayed in the header when the site is viewed on a mobile device. I can't figure out how to make it stay put when the screen size is reduced.

    Thanks!
    Steve O.

    http://blenderbabes.com
    September 15, 2013 at 4:37 pm #62717
    mickmel
    Member

    At approximately line 2283 in your main style.css file it sets the search to "display: none;". Remove that line and you should be good.

    September 15, 2013 at 5:39 pm #62728
    nunotmp
    Member

    Mickmel is correct. You style sheet uses this style

    #nav li.right {
    display: none;
    }

    when the screen size is lower than 960px. If you remove the display: none; you will need to add some additional styles to position the search properly or it will float off to the right. Good luck.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 6:13 pm #62732
    ontiversmo
    Member

    Nice, thank you both. I found the line of code and removed the display: none;

    I suppose my friend will ask me to center the search bar in mobile, while keeping it flush right in larger screens. Any chance I can trouble you for some assistance to get that part right?

  • 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

© 2025 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