• 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

An alt image for a div for responsive?

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 › General Discussion › An alt image for a div for responsive?

This topic is: resolved

Tagged: image, responsive

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 4 months ago by Carta.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 28, 2014 at 3:21 pm #87559
    Carta
    Member

    My webpage (http://www.maposity.com) has a map image (a 24-bit .png with transparency) positioned over a gradient background. Its size is 1024 x 200.

    When the webpage appears on a smaller screen, the .png image doesn't expand of course. So it fills the top of the div, not the whole area of the div. The div is a class I made called .banner-top and its width and height are set at 100% each. Same setting for the .png image.

    My solution would be to include an alternative image sized 1024 x 360 that would take the place of the 1024 x 200 image when the page shows on small-screen devices.

    Is this the best solution? If so, how to write CSS to implement that alternative image?

    http://www.maposity.com
    April 8, 2014 at 9:08 pm #99270
    Susan
    Moderator

    Were you able to get your issue resolved? If not, I'd be happy to escalate. Thanks!

    April 9, 2014 at 9:23 am #99347
    Carta
    Member

    Yes, I did resolve it. Thanks for checking. I can't tell you how because it was in the distant past (given my memory of such things).

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘An alt image for a div for responsive?’ 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