• 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 – Help With Google Custom Search Box

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 › Executive Pro – Help With Google Custom Search Box

This topic is: not resolved

Tagged: adsense, executive pro

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 8 months ago by stinkykong.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 7, 2013 at 6:58 am #77522
    tcwiggins03
    Member

    If you look at this test page I set up http://theacnezone.com/test-3/ you can see the google custom search bar in my sidebar has inherited the "Search" button's styling from the Executive Pro theme, at least I assume that's correct, I'm pretty new to css and styling in general.

    You can see that the button is showing up beneath the search box and to the left as opposed to in line with the search box and to the right.

    This is what the default search box should look like

    google search box

    So my question is, how can I prevent the search button from inheriting the styling from the theme without messing up any of the other various buttons throughout my site that are also using the same styling as this search button?

    December 7, 2013 at 7:34 am #77524
    stinkykong
    Participant

    I don't have a simple answer. You may be in for some research depending on exactly you want to replicate the example you offer here. I see a different background image inside the search box that you'll have to somehow change, if that's what you want. Currently you're this image from google which is more mono-chromatic.

    http://www.google.com/cse/intl/en/images/google_custom_search_watermark.gif

    Regarding other aspects such as the width of the searchbox which is currently 100% and other CSS, I would use a simple plugin called Zig Widget Class which adds the ability to add a custom class name to each widget box in your admin area. Come up with a new class of any name you choose such as 'google-my-site' and add rules to your style.css file such as

    .google-my-site input, .google-my-site select, .google-my-site textarea { width: 70%}
    .google-my-site input[type="submit"], .google-my-site button {width: 30%}

    If you use tools such as Firebug for Firefox or Chrome's developer toolbox, you can right click on your page elements and see the rules that govern them...then recreate those rules with the custom class you created to make all the CSS changes you need.


    Web Design by Websentia Web Services
    http://websentia.com

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