• 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

Moving the right header widget by a few px and translating search button

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 › Moving the right header widget by a few px and translating search button

This topic is: not resolved

Tagged: move widget area

  • This topic has 5 replies, 2 voices, and was last updated 13 years, 3 months ago by Stewart.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 7, 2013 at 10:12 am #54585
    jazzybazz
    Member

    See this page: http://goo.gl/qvgHmy

    1. As you can see on the header, the search feature is too close to the right edge of the header. I'd like to move it to the left a little bit. What's the easiest way to achieve this?

    2. How do I change the text on the search button? I want to change the "GO" button to another text. Is it possible?

    Thank you very much.

    http://goo.gl/qvgHmy
    August 7, 2013 at 10:51 am #54593
    Stewart
    Member

    Hi,

    Ok for your first question, you need to open your child themes style.css file and look on around line 1459 for the following:

    #header .searchform {
    	float: right;
    	padding: 50px 0 0;
    }
    

    and just change padding on the right example: padding 50px 20px 0;

    And for your second question paste the following into your child themes functions.php file.

    <?php
    //* Do NOT include the opening php tag
     
    //* Customize search form input button text
    add_filter( 'genesis_search_button_text', 'custom_search_button_text' );
    function custom_search_button_text( $text ) {
    	return esc_attr( 'Go' );
    }
    

    And jsut change the text form Go to whatever you like.

    Don't forget to backup all files just in case something goes wrong.

    Hope this helps
    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    August 7, 2013 at 11:23 am #54610
    jazzybazz
    Member

    Stewart, thank you very much for your answer.

    The positioning issue was fixed thanks to your help.

    However, for the functions.php fix, when I copy-paste the code in the file, the website crashes and stop loading. I tried adding the closing > but still the same issue.

    Thank you.

    August 7, 2013 at 11:29 am #54616
    Stewart
    Member

    Hi, did you add the "<?php" ? if so remove it.

    If still having an issue let me know what version genesis you are running and when i get home Ill take a look at the enterprise theme files and see if I can find out what's wrong.

    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    August 7, 2013 at 11:32 am #54619
    jazzybazz
    Member

    Works!! thank you so much 🙂 one last question if you don't mind. I want to resize the search text box. I want to make it smaller.

    August 7, 2013 at 11:38 am #54624
    Stewart
    Member

    Glad it worked for you, To change the search box size just open your style.css file again on line 1456 onwards is all the styling for the search form.

    If you want to change the width of the text input box for example:

    #header .s {
             margin: 5px 0 0;
             width: 250px;
    }
    

    Just change the width 🙂 But basically there are 4 css styles there that you can play around with to achieve your desired look.

    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

  • 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

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