• 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

Parallax Pro button styling on mouseover

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 › Parallax Pro button styling on mouseover

This topic is: not resolved

Tagged: button styling, css, parallax-pro

  • This topic has 2 replies, 2 voices, and was last updated 7 years ago by akubrin.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 7, 2016 at 2:07 pm #180819
    akubrin
    Participant

    Hi all,

    I'm building a site with Parallax Pro at http://speakbusinesscomm.com/. I want to control the home page buttons--specifically, the background color, font color, and outline color on mouseover. I was able to set the non-mouseover background color in CSS, but cannot find a way to control these properties when I point at the buttons.

    I've inspected the code, but I still can't figure out a way to control these properties.

    Can I use CSS for this task? Do I need to use another technique?

    Thanks.

    Andy

    http://speakbusinesscomm.com/
    March 7, 2016 at 3:59 pm #180828
    ᴅᴀᴠɪᴅ
    Member

    Yes, this is what CSS is for. You are needing the :hover pseudo class, which controls styling on hover. So, assuming you need two different styles (due to the different background images for each front page section, odd and even). you would need something like this;

    .home-even a.button:hover {
        background-color: #fff;
        border-color: #333;
        color: #333;
    }
    
    .home-odd a.button:hover {
        background-color: #333;
        border-color: #fff;
        color: #fff;
    }

    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    March 7, 2016 at 9:38 pm #180873
    akubrin
    Participant

    Thank you, David. That did the trick.

  • 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

© 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