• Skip to main content
  • Skip to primary sidebar

Victor Font Consulting Group, LLC

The DEX Intranet Specialists

  • Home
  • Care Plans
    • Care Articles
    • Optional Subscriptions
  • Consultations
  • Products
    • Code Snippets
    • Public GitHub Repositories
    • Gist Snippets
    • Pastebin Snippets (Free)
    • Free Plugins
  • FAQs
  • Support
    • Graphic Design
  • Contact
    • Speakers
    • Portfolio
  • Resources
    • Free WordPress Video Training
    • Tutorials
    • Articles
    • Cybersecurity
    • EU Referral Network

Use Image Button with Genesis eNews Extended

March 31, 2014 By Victor M. Font Jr.

Use Image Button with Genesis eNews Extended

With over 113,000 downloads, the Genesis eNews Extended plugin is a very popular extension to add to your Genesis Framework themes. If you're not familiar with this plugin, it creates a new widget that allows you to easily add mailing list integration to a Genesis based website. Genesis eNews Extended works with FeedBurner, MailChimp, AWeber, FeedBlitz and more. I use it on most of my websites to encourage my visitors to signup for my Mailchimp list.

standard-button

If you have used the plugin, then you know it is configured with a standard HTML submit button element to trigger the form action. While you can apply some custom .css to modify the button's appearance for its normal, hover and active states, you are still limited to the button looking like a standard button.

Recently, I re-skinned a WordPress site on behalf of Blue Olive Strategic Consulting. Their client is My American RX.

When Blue Olive sent me the Photoshop .psd for the home page, all of the widgetized areas included a graphic image for the link buttons. The CSS Sprite I created to skin the buttons is below:

My American RX Button Sprite

As you can see, the buttons are each 2-color, split equally along the horizontal axis. I could approximately replicate this on the Genesis eNews Extended standard submit button with a gradient fill, but it wouldn't look exactly as the presentation requested by the client. My only option is to skin the Genesis eNews Extended submit button with the images from the CSS Sprite.

Find the Element's CSS ID or CLass

The first step is to determine the submit button's element ID or class. This is simple. Once the widget is setup, load the page and view the source code in your browser. The section of home page's source code below shows on line 14 that the submit button has an element ID of "subbutton."

 

Customizing the Submit Button Style

Having the element ID, we can create custom .css to override the style already provided in your Genesis theme. Since, I was creating a new child theme from scratch, this was fairly easy to do. If you are using a purchased Genesis Child theme, you should add the following to your theme's style.css file in the section labeled /* Genesis eNews Extended.

That's it! If you've done everything as explained, your Genesis eNews Extended widget will have a button that appears as the one in the animated .gif at the top of the page.

  • 2shares
  • Facebook0
  • Twitter0
  • Pinterest0
  • LinkedIn2
  • Print
  • SMS0

Filed Under: Code Snippet, Computers and Internet, Genesis, Programming Tagged With: Code Snippet, Computers and Internet, Genesis, Programming

About Victor M. Font Jr.

Victor M. Font Jr. is an award winning author, entrepreneur, and Senior IT Executive. A Founding Board Member of the North Carolina Executive Roundtable, he has served on the Board of Advisors, of the North Carolina Technology Association, the International Institute of Business Analysis, Association of Information Technology Professionals, Toastmasters International, and the North Carolina Commission for Mental Health, Developmental Disabilities, and Substance Abuse Services. He is author of several books including The Ultimate Guide to the SDLC and Winning With WordPress Basics, and Cybersecurity.

Primary Sidebar

Shopping Cart

Books

  • Winning With WordPress Basics 2nd Edition Winning With WordPress Basics 2nd Edition $19.95
  • Ultimate Guide to the SDLC front cover The Ultimate Guide to the SDLC
    Rated 5.00 out of 5
    $74.95

Recent Articles

  • Modern Scam Defense: How Consumers and Businesses Can Recognize and Stop Email, Phone, and Text Fraud
  • How to Write a PRD So Dense It’s Technically a Novel
  • Top 5 Plugin Names That Scare Our Legal Department
  • When Agile Meets Our 3-Year Waterfall Roadmap: A Love Story
  • Why Our Enterprise Needs 27 Stakeholders to Approve a Button Color Change

Top 10 Article Categories

Best Practice Code Snippet Computers and Internet Genesis How To Leadership Programming Servant Leadership Tutorial WordPress

 
We only use analytical cookies on our website that allow us to recognize and count the number of visitors, but they do not identify you individually. They help us to improve the way our website works. By clicking Accept you, agree to cookies being used in accordance with our Cookie Policy.