• 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

Academy Pro – Remove Grey Background

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 › Academy Pro – Remove Grey Background

This topic is: resolved

Tagged: academy pro, background, gray, grey, skew

  • This topic has 3 replies, 3 voices, and was last updated 4 years, 5 months ago by wperchuc.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 13, 2018 at 10:16 am #215358
    prasadmahes
    Member

    Hi there, I would like to know how I can remove the grey diagonal background that appears in the Academy Pro theme. Any help would be appreciated - thanks!

    http://prasadmahes.com/
    January 13, 2018 at 10:23 am #215359
    Victor Font
    Moderator

    In style.css, comment out the content: ""; directive in both of these blocks of code at lines 783 and 796 respectively:

    .site-inner::before {
        content: "";
        background-color: #f5f5f5;
        height: 50%;
        position: absolute;
        -webkit-transform: skewY(-5deg);
        -ms-transform: skewY(-5deg);
        transform: skewY(-5deg);
        top: 120px;
        width: 100%;
        z-index: -1;
    }
    
    .site-inner::after {
        bottom: 100px;
        background-color: #f5f5f5;
        content: "";
        height: 50%;
        position: absolute;
        -webkit-transform: skewY(-5deg);
        -ms-transform: skewY(-5deg);
        transform: skewY(-5deg);
        width: 100%;
        z-index: -1;
    }

    Regards,

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

    January 13, 2018 at 10:27 am #215361
    prasadmahes
    Member

    To confirm, I should remove the colour code f5f5f5 from the code, correct? I am not sure what you mean by "comment out the content." If you could elaborate, that would be helpful - thank you!

    August 23, 2018 at 2:00 am #222673
    wperchuc
    Participant

    Hi, I have some troubles with removing the gray background skews... I tried to comment only the part you suggested or comment the whole part of css which is responsible for that. I also tried to operate with this code in additional css section. None of these solutions worked... Any help would be appreciated.

    Home

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Academy Pro – Remove Grey Background’ is closed to new 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