• 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

Altitude Theme: Lessening the Overlay on Background Images

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 › Altitude Theme: Lessening the Overlay on Background Images

This topic is: not resolved

Tagged: Altitude Theme, background images

  • This topic has 5 replies, 4 voices, and was last updated 9 years, 6 months ago by Christoph.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 9, 2016 at 9:21 am #185284
    EricHilton
    Participant

    I'm making a site with the Altitude Pro theme and would like to make the dark overlay on the front page background images lighter than the default. I was able to remove the overlay by adding this code to my CSS editor:
    .image-section {
    background: none;
    text-shadow: 2px 2px 1px #000000;
    }

    But now the white font over the images is hard to read. Is there some way to make the background lighter rather than removing it completely? I added the text shadow to help with the readability, by it's still hard to read the text.

    I think I might be able to get the result I want by editing the following code, but not sure about what to do exactly:
    .image-section {
    background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.9) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.2)), color-stop(30%,rgba(0,0,0,0.5)), color-stop(80%,rgba(0,0,0,0.8)), color-stop(100%,rgba(0,0,0,0.9)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#e6000000',GradientType=0 );
    display: table;
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
    }

    I would appreciate any advice.

    http://examplesite.link/
    May 9, 2016 at 11:38 am #185293
    Victor Font
    Moderator

    Add opacity: .5; to the image-section class.


    Regards,

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

    May 9, 2016 at 4:53 pm #185319
    EricHilton
    Participant

    I tried that but it made everything opaque, including the text.

    Is there any way I can make just the image slightly opaque so that the font is easier to read?

    May 10, 2016 at 12:10 pm #185362
    Victor Font
    Moderator

    The only other way to do it is to change the opacity for each of the background directives. When using the rgba directive, the first three numbers are the color. The final number is the opacity. In the example of rgba(0,0,0,0.9), the 0.9 is the opacity. http://www.w3schools.com/cssref/css_colors_legal.asp


    Regards,

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

    June 27, 2016 at 12:57 pm #188404
    fandom
    Participant

    Am I allowed to leave a link to the solution I used? If so, this is what I did to lessen the gradient overlay:
    http://fandomwebdev.com/2016/06/12/studiopress-altitude-pro-gradient-overlay-fix/

    June 27, 2016 at 1:16 pm #188407
    Christoph
    Member

    No problem with links to websites, resources, tutorials, etc. that help people.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

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