• 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

Agency Pro darken backstretch image

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 › Agency Pro darken backstretch image

This topic is: resolved

Tagged: agency pro, darken backstretch image

  • This topic has 10 replies, 2 voices, and was last updated 10 years, 10 months ago by carasmo.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • December 1, 2015 at 4:30 pm #172387
    Tim Squires
    Member

    Hi, is there a way to darken the backstretch image in Agency Pro? The image that I am currently using is too bright, and I would like to darken it to make the text more readable. I know that I could do that in Photoshop, but is there a CSS transparency filter or overlay technique that I could use?
    Site is here:
    http://mountains.timsquires.com.au/


    timsquires.com.au

    http://mountains.timsquires.com.au/
    December 1, 2015 at 5:09 pm #172391
    Tim Squires
    Member

    Just looking at the demo - it already has the image darkened, somehow I have turned this feature off and can't work out how to get it back to the original state. Combing my style sheet at present for a solution . . .


    timsquires.com.au

    December 2, 2015 at 5:42 pm #172536
    Tim Squires
    Member

    Having a lot of trouble - can't find a solution, although I'm sure it must be a simple one. I have somehow switched off the dark screen over the Agency Pro backstretch image and need to restore it. Would be grateful for any advice, thanks 🙂


    timsquires.com.au

    December 2, 2015 at 6:25 pm #172539
    carasmo
    Participant

    The theme doesn't apply any darkening via css or jquery. The Backstretch image is dark to start with:

    http://demo.studiopress.com/agency/wp-content/themes/agency-pro/images/bg.jpg

    and you could use jQuery or CSS.

    This works:

    body {
        position: relative
    }
    
    body:before {
        z-index: -1;
        content: ' ';
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0, .2);
    }

    Genesis Theme Customization and Help

    December 2, 2015 at 6:25 pm #172540
    carasmo
    Participant

    .2 in the background style is 20% of black. .5 would be 50% .8 80% and so forth


    Genesis Theme Customization and Help

    December 3, 2015 at 6:18 am #172588
    Tim Squires
    Member

    Thanks for your code. Sadly I can't get it to work 🙁 will keep trying.

    Thanks again.


    timsquires.com.au

    December 3, 2015 at 10:08 am #172607
    carasmo
    Participant

    you put it in your style.css for your child theme Admin/Appearance/Editor then select the file style.css from the right side and scroll all the way down and paste in the code -- making sure you are outside all other styles and media queries. I just did it to my install of the theme, works fine.


    Genesis Theme Customization and Help

    December 4, 2015 at 4:23 am #172704
    Tim Squires
    Member

    Hi Carasmo, thanks so much. I followed those steps and still no luck. Nothing changes on my setup 🙁


    timsquires.com.au

    December 4, 2015 at 7:31 am #172726
    carasmo
    Participant

    Yes, because the CSS that you added is not closed. Run your CSS through lint.

    This

    @media only screen and (max-width: 280px) {
    
        .feature-heading h1{ 
             top: 142px;  
        }
        
    
    /*For feather logo over feature image on country pages

    Should be:

    @media only screen and (max-width: 280px) {
    
        .feature-heading h1{ 
             top: 142px;  
        }
        
    } /* <----- this was missing */
    
    /*
    For feather logo over feature image on country pages

    Genesis Theme Customization and Help

    December 4, 2015 at 2:09 pm #172774
    Tim Squires
    Member

    Hi Carasmo, thanks so much for your code and for picking up that error in my CSS - very much appreciated. It works perfectly now. Best wishes, and thanks again 🙂


    timsquires.com.au

    December 4, 2015 at 2:32 pm #172776
    carasmo
    Participant

    You're welcome. Please mark topic resolved.

    Thanks!


    Genesis Theme Customization and Help

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Agency Pro darken backstretch image’ 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

© 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