• 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

Change the width of the search bar on small screen sizes

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 › Change the width of the search bar on small screen sizes

This topic is: resolved

Tagged: search bar width

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 9 months ago by Hashim.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 31, 2014 at 9:01 am #116442
    Hashim
    Member

    Hi there,

    The answers provided in this community always are very helpful!

    I'm using the Generate Pro theme for my website: http://hashimnaushahi.com and I love it!

    There's one thing I'd like to change to make it absolutely perfect for me. And that's the width of the search bar. I don't want to change the width when it's shown on a regular screen size. I just want to change the width of the smallest screen size, because from that point the text in the search bar doesn't show completely anymore.

    To explain a little better, I've got an LG smartphone. When I keep my mobile screen horizontally, the search bar is wide enough. But when I keep my mobile screen vertically, the search bar is too small to show the text in it completely.

    Do you have any ideas on how to change the width of the search bar when it shows on the smallest screen size?

    The search bar changes width on a regular screen as soon as the browser screen is smaller than 750px. The way I'd like to see the search bar most, is that it never is smaller than the width of the logo image. But I don't know how to get that done.

    I'm really looking forward to all your suggestions. Thank you in advance!

    Sincerely,

    Hashim Naushahi

    http://hashimnaushahi.com
    August 9, 2014 at 2:21 pm #117988
    JanHoek
    Participant

    add to @media only screen and (max-width: 600px) {

    
    .site-header .search-form {
       width: 100%;
    }
    

    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    August 2, 2015 at 8:26 am #161166
    Hashim
    Member

    Thank you @JanHoek for your suggestion. I'm now using a different theme so this is no longer an issue. But I do appreciate your willingness to help. 🙂

    Sincerely,

    Hashim

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