• 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

Fade-In Effect

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 › Fade-In Effect

This topic is: not resolved

Tagged: css animations, fade, fade-in

  • This topic has 1 reply, 1 voice, and was last updated 9 years, 7 months ago by Eva Lim.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 5, 2016 at 3:59 am #197031
    Eva Lim
    Member

    Hi, I would like some copy on my homepage to fade in automatically by itself upon page load. How can I create this effect?
    Thanks for your help in advance!

    December 5, 2016 at 4:22 am #197036
    Eva Lim
    Member

    Think I've solved the issue.

    Attach the class ".fade" to the element you want to fade in and add the code below:

    .fade {

    -webkit-animation: fadein 5s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 5s; /* Firefox < 16 */
    -ms-animation: fadein 5s; /* Internet Explorer */
    -o-animation: fadein 5s; /* Opera < 12.1 */
    animation: fadein 5s;
    }

    @keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
    }

    /* Firefox < 16 */
    @-moz-keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
    }

    /* Safari, Chrome and Opera > 12.1 */
    @-webkit-keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
    }

    /* Internet Explorer */
    @-ms-keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
    }

    /* Opera < 12.1 */
    @-o-keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
    }

  • 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