• 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

Image height & width in CSS

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 › Image height & width in CSS

This topic is: resolved

Tagged: blurry images, fuzzy images

  • This topic has 1 reply, 1 voice, and was last updated 13 years ago by jodzeee.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 10, 2013 at 1:35 pm #45106
    jodzeee
    Member

    I've noticed that some of my images are fuzzy in Chrome, but not in Firefox. Using the inspector, I turn off "max-width: 100%" and I get more clarity, but I assume that's there for a reason and I shouldn't remove that attribute. And in this case, if I do, it screws up some placeholders I have. I've got both the image height and width set on the fuzzy images, but not on the placeholders (I assume that's why they're getting stretched).

    I guess my questions are: What does this CSS do? What am I doing wrong? How do I prevent my images from being resized and turning fuzzy/blurry?

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

    I'm using the Agency theme and the images I'm referring to are the logos/badges on the home page of the site referenced below.

    http://www.uncorkeddesign.com/clients/bolt-hoffer-3/
    June 10, 2013 at 6:50 pm #45143
    jodzeee
    Member

    Okay, I figured it out. I had the images placed in a table and because I didn't have this:

    `table { border-collapse: collapse; }`

    The images were being squished. I'm not sure I understand why though. Especially since it was showing up in Chrome but not in Firefox.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Image height & width in CSS’ 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