• 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

Greyscale images on Digital Pro

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 › Greyscale images on Digital Pro

This topic is: not resolved

Tagged: digital pro, Greyscale images

  • This topic has 2 replies, 2 voices, and was last updated 9 years ago by carolacat.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 13, 2017 at 2:35 am #207682
    carolacat
    Member

    Hi I am trying to greyscale the im,ages on digital pro. I got the tutorial from Genesis blueprints but have to customise the code to match the theme i',m working on.

    The code I have is this but it's not making the im,ages go grey and colour upon hover:

    img{
    filter:grayscale(100%);
    transition: 1s ;
    transition-delay:7s;
    }

    img:hover{
    filter:grayscale(0%);
    transition: 0.8s ;
    box-shadow: 3px 3px 5px #777;
    }

    a.alignleft, img.alignleft, .wp-caption.alignleft{
    margin: 10px 24px 5px 0;
    }

    .front-page-1 {
    transition-property:background-image;
    filter:grayscale(100%);
    transition: 2s ;
    transition-delay: 1s;
    }
    .front-page-1:hover {
    transition-property:background-image;
    filter:grayscale(0%);
    transition: 2s ;
    }
    </div>

    Spot any issues?

    http://digpro.digimarketingstudio.com
    June 13, 2017 at 3:22 am #207684
    Victor Font
    Moderator

    You placed your grayscale filters in a media query in your style sheet.

    @media
    only screen and (max-width: 600px). You won't see the grayscale effect until you shrink the screen to a width less than 600px.

    Next, you're applying the grayscale filter to the wrong element. The grayscale effect needs to be applied to the img container, not the img. In the case of the property featured images, the correct element is .elive_property_featured_image and .elive_property_featured_image:hover

    As for front-page-1, you're not going to get the effect to work because the image is a backstretch image. The widget that displays your text has a transparent background. It sits on top of the backstretch image, essentially covering it up. Your mouse pointer cannot reach the image to trigger a hover effect. You would have not use a backstretch image and add the image as a background image to front-page-1 in order to achieve a hover effect. The grayscale would be applied to .front-page-1. If you want the text to remain with color, you would also have to remove the grayscale from the widget area. You have a lot of work to accomplish your requirement.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 13, 2017 at 4:57 am #207688
    carolacat
    Member

    Ok thanks Victor.

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

© 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