• 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 Pro Featured Section 1 Image Too Dark

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 Pro Featured Section 1 Image Too Dark

This topic is: resolved
  • This topic has 9 replies, 2 voices, and was last updated 10 years, 8 months ago by tfmwa.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • March 22, 2015 at 7:44 am #145190
    bleubeard
    Member

    How do I brighten it up? I like the fact that it darkens as you scroll, but I would like it to be at full brightness when you first load the page. It goes straight to 50% (~) darker, to 100% opaque when you have finished scrolling.

    March 22, 2015 at 10:10 am #145197
    tfmwa
    Participant

    This question has been answered before here:

    Altitude Pro front page images shading

    Read the following article about CSS gradients to understand how they work:
    http://www.w3schools.com/css/css3_gradients.asp

    In the Altitude Pro style.css Front Page section you'll find:

    .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%;
    }

    Play around with the number values - particularly the last one after all the zeros - (and perhaps even percentages) to achieve the effect you want.

    Always make a backup of your website and current css file before making any changes.

    March 22, 2015 at 1:23 pm #145214
    bleubeard
    Member

    thanks!

    March 22, 2015 at 1:56 pm #145218
    bleubeard
    Member

    I haven't been able to actually make this work.

    As in the thread, I changed the rgba everything to 255,255,255,0 (white) for everything, and that didn't work.

    I also kept the rgba as black (0,0,0,0), and lowered the last number to 0, and switched it to 0%, and that did work. Am I missing something? I would even be ok with removing the gradient at this point.

    .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%;
    }

    March 22, 2015 at 2:24 pm #145223
    tfmwa
    Participant

    The code you posted looks the same as the original as far as I can see?

    I've tested the following code on the Altitude Pro site I'm currently working on. And it removed the gradient completely as the transparency is set to 100% (by changing ALL the x.x values before the closing brackets to 0).

    Only changing the values for the first background line did not work in either Chrome or IE.
    Once I changed ALL the transparency values, it worked.

    You can 'find & replace all' the four x.x values to avoid making mistakes.

    .image-section {
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(30%,rgba(0,0,0,0)), color-stop(80%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#33000000′, endColorstr=’#e6000000′,GradientType=0 );
    display: table;
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
    }

    Please replace the corresponding section of code in your css file with the code provided above.
    Be sure to save your changes if using the Editor screen in WordPress. Or overwrite the css file on your server if you're using an FTP program.

    Then open an incognito window of the browser of your choice and open your site again to compare.
    CTRL+F5 a couple of times even in incognito just to be sure.

    The background images should be displayed clear/normal without any type of gradient using the code above.
    This makes it easy to see the difference compared to the original settings. Once you confirm it's working, you can tweak the transparency values to something more suitable.

    March 22, 2015 at 3:01 pm #145230
    bleubeard
    Member

    Wow, thank you so much for all the time you have taken to reply!

    Sadly, it just won't seem to work -- I might be explaining myself incorrectly. We are talking about the image, right? Here is the site after I inserted the code:

    colleges4us.com

    Though it is still dark, the actual image is very bright -- it can be seen here:

    http://upload.wikimedia.org/wikipedia/commons/3/38/Harvard_Medical_School.JPG

    I would be happy to share my login details with you -- my email is [email protected].

    Why do you think it is still dark??

    March 22, 2015 at 3:19 pm #145233
    tfmwa
    Participant

    I cannot see any changed code related to this issue in your active css file.
    Please describe how you're trying to apply these changes in detail.

    March 22, 2015 at 6:00 pm #145245
    bleubeard
    Member

    Thanks for that feedback -- the changes seem then not to be propagating. I used your code (below).

    I replaced the original code with your code and saved the changes in the styles.css sheet. The original code is gone, yet no matter how often I delete cookies or open the site in incognito mode, the changes don't seem to propagate. Weird.

    .image-section {
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(30%,rgba(0,0,0,0)), color-stop(80%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#33000000′, endColorstr=’#e6000000′,GradientType=0 );
    display: table;
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
    }

    March 22, 2015 at 7:19 pm #145257
    bleubeard
    Member

    Thanks for all of your help, tfmwa. It turns out that my styles.css sheet wasn't updating because my server heavily caches everything static, like css. You're awesome!!

    March 23, 2015 at 3:17 am #145290
    tfmwa
    Participant

    Glad to hear you found the cause of the issue. 🙂

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

© 2025 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