• 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

rollover buttons in sidebar

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 › rollover buttons in sidebar

This topic is: not resolved

Tagged: rollover buttons, Sidebar

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 7 months ago by little shiva.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 2, 2013 at 2:00 pm #23791
    little shiva
    Member

    I want to use a text widget to place code for a rollover button (a button and its hover state).

    I tried this, but didn't work for me: http://www.megandowntherabbithole.com/2011/11/rollover-button-magic-in-your-wordpress-sidebar-resolution-of-an-epic-struggle/

    My button lives here: http://lcr-sap.be/lcr-lagauche.org/i/soutien-button-1.jpg

    The hover state is http://lcr-sap.be/lcr-lagauche.org/i/soutien-button-2.jpg

    Is it possible to make this work in a sidebar? If so, how?

    March 8, 2013 at 9:04 pm #25137
    Kassiah
    Member

    You can do this with CSS, but if you want to do this with HTML like in the tutorial you linked, I got it to work like this:

    <a title="#" target="_blank" href="YOUR LINK"><img src="http://lcr-sap.be/lcr-lagauche.org/i/soutien-button-1.jpg" onmouseover="this.src='http://lcr-sap.be/lcr-lagauche.org/i/soutien-button-2.jpg'" onmouseout="this.src='http://lcr-sap.be/lcr-lagauche.org/i/soutien-button-1.jpg'" alt="Soutien"></a>

     

    April 6, 2013 at 7:05 am #33456
    little shiva
    Member

    I'm still not getting the rollover effect. Any other ideas?

     

  • 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