• 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

Images No Longer Resize – Agency 2.0 theme

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 › Images No Longer Resize – Agency 2.0 theme

This topic is: not resolved

Tagged: max-width, resize images, responsive design

  • This topic has 1 reply, 1 voice, and was last updated 9 years, 4 months ago by anotherusername.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 20, 2014 at 3:52 pm #115088
    anotherusername
    Participant

    Hi everyone,

    The images on one of my sites where I use Agency 2.0 theme are no longer resizing / responsive. Hope you could take a look at it:

    http://www.thebuddhagarden.com/blog/buddha-poses/

    I have a couple of other sites that I THOUGHT are using the same CSS file, but the images on those sites DO resize.

    for my img tag in my CSS file, I have this:

    img {
    	height: auto;
    	max-width: 100%;
    
    }

    Thanks in advance for any suggestions.

    http://www.thebuddhagarden.com/blog/buddha-poses/
    July 21, 2014 at 9:23 am #115192
    anotherusername
    Participant

    I just wanted to explain a bit more about the problem.

    Specifically, I am talking about the #header div background image.

    It turns out, Agency theme (and perhaps MOST Genesis themes) use inline CSS for the #header background image:

    #header {

    background-size: auto !important;

    }

    But it looks like to make that #header background image responsive, you need to add 100% to it as:

    background-size: 100% auto !important;

    Unfortunately, I don't know if it is at all possible to overwrite the inline style if it has the !important tag. Is that possible?

    Or will I have to go in and edit the child template theme?

    Thanks in advance.

  • 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

© 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