• 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

Executive Pro Display 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 › General Discussion › Executive Pro Display Search Button

This topic is: not resolved

Tagged: button, display, executive pro, search

  • This topic has 17 replies, 5 voices, and was last updated 8 years, 10 months ago by ZAAAX.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • December 28, 2013 at 6:33 pm #81709
    Aryadne
    Member

    For UX reasons I would like the search button to be visible but I can't figure out how to do this.

    Any ideas?

    http://webnetcontractors.com/
    December 28, 2013 at 8:19 pm #81730
    RobG
    Member

    I'm not sre I understand what your asking I can see your search box in your right header section.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    December 29, 2013 at 4:35 am #81786
    Aryadne
    Member

    I have the search input box visible but not the search button. I want the button so that it is clear what to do after inputting search text. It's a UX thing.

    I use Firebug religiously! 🙂

    Thanks for your help.

    December 29, 2013 at 6:31 am #81794
    Brad Dalton
    Participant

    There's no button for the default however you could add Google custom search there instead which is more accurate.


    Tutorials for StudioPress Themes & WooCommerce.

    December 29, 2013 at 6:36 am #81796
    RobG
    Member

    Hi Brad, Are you saying she can add the Google search in the widget section?

    I was thinking she could add this CSS search button to the existing form

    }
    
    #search_button {
        position:absolute;
        top:0;
        right:0;
        width:80px;
        height:40px;
    }
    
    

    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    December 29, 2013 at 7:40 am #81807
    Anita
    Keymaster

    What she is asking for is the BUTTON that you click to search - NOT the Magnifying Glass. With the latest updates - the BUTTON that you would CLICK that says SEARCH or GO is gone. She wants the BUTTON BACK.


    Love coffee, chocolate and my Bella!

    December 29, 2013 at 7:47 am #81808
    Anita
    Keymaster

    Look for this in your style.css sheet -

    .search-form input[type="submit"] {
    	border: 0;
    	clip: rect(0, 0, 0, 0);
    	height: 1px;
    	margin: -1px;
    	padding: 0;
    	position: absolute;
    	width: 1px;
    }
    

    Delete all of that or just block it out and the button will return. You can then customize it to your liking.


    Love coffee, chocolate and my Bella!

    December 29, 2013 at 7:55 am #81810
    RobG
    Member

    Is this included in this theme or was it removed? I know most have it, Thanks for the help with this


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    December 29, 2013 at 8:00 am #81811
    Anita
    Keymaster

    Most of the newer themes have that code in there. I just wrote a little blog about it here. I am no "Brad Dalton" but at least I wrote this little tutorial! LOL!


    Love coffee, chocolate and my Bella!

    December 29, 2013 at 8:03 am #81813
    RobG
    Member

    Looks great very easy to understand thank you so much for your tips it's always better to have other views.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    December 29, 2013 at 9:09 am #81827
    Brad Dalton
    Participant

    Good code Anita and good to see your writing short, useful and unique tutorials.

    I shared that to my network as well.


    Tutorials for StudioPress Themes & WooCommerce.

    December 29, 2013 at 9:10 am #81828
    Anita
    Keymaster

    Thanks Brad, I didn't want to start out being too wordy since I am still a bit new at it!


    Love coffee, chocolate and my Bella!

    December 29, 2013 at 9:21 am #81831
    RobG
    Member

    @Anitac I think getting right to the point while writing tutorials is the best way for people to understand because most people start getting confused if the article is to wordy.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    December 29, 2013 at 9:22 am #81832
    Anita
    Keymaster

    Thanks Rob, I appreciate your feedback. I know when I look at very technical tutorials... the "why i need to do this" or moot to me. Just tell me how to do it. 🙂


    Love coffee, chocolate and my Bella!

    December 29, 2013 at 9:25 am #81834
    RobG
    Member

    That's correct I've writen a number of tutorial over the years and I try to focus on what's really important when I write so you can understand quickly. Nice start


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    December 29, 2013 at 1:31 pm #81875
    Aryadne
    Member

    Awesome, Anita!

    It worked great.

    December 29, 2013 at 1:37 pm #81876
    Anita
    Keymaster

    To bring the button horizontal with the search box, look for this:

    .search-form input[type="search"] {
        background: url("images/icon-search.png") no-repeat scroll right center / 36px 16px #FFFFFF;
        color: #888888;
        font-size: 1rem;
        margin-bottom: 1rem;
        padding: 1.6rem;
        text-transform: uppercase;
        width: 100%;
    }

    Change 100% to auto. If you want to remove the magnifying glass - remove that background image from the second line.

    Then look for this:

    button, input[type="button"], input[type="reset"], input[type="submit"], .button, .entry-content .button {
        background-color: #006699;
        border: medium none;
        border-radius: 5px;
        box-shadow: none;
        color: #FFFFFF;
        cursor: pointer;
        padding: 1.6rem 2rem;
        width: auto;
    }

    Change the padding from 1.6rem to about 1.3rem.


    Love coffee, chocolate and my Bella!

    December 4, 2014 at 7:05 pm #133645
    ZAAAX
    Member

    Just thought I'd ask seeing as how I'm working on trying to get the magnifying glass image to be the "Search Button" that you click for the search to happen.

    So far I cannot work out where the "<input type="submit" value="Submit">" would go in relation to the image and CSS Code below ....

    .genesis-nav-menu .search input[type="submit"],
    .widget_search input[type="submit"] {
    	border: 0;
    	clip: rect(0, 0, 0, 0);
    	height: 1px;
    	margin: -1px;
    	padding: 0;
    	position: absolute;
    	width: 1px;
    }
    
    .search-form input[type="search"] {
    	background: #fff url(images/icon-search.png) no-repeat right;
    	background-size: 36px 16px;
    	color: #000;
    	font-size: 10px;
    	border: #333 solid 1px;
    	margin-bottom: 6px;
    	padding: 10px;
    	text-transform: uppercase;
    	width: 100%;
    }

    Hope I'm making sense.


    Crisp!

    ZAAAX Design

  • Author
    Posts
Viewing 18 posts - 1 through 18 (of 18 total)
  • The forum ‘General Discussion’ 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

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