• 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

Responsive Images

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 › Responsive Images

This topic is: resolved

Tagged: images, responsive images, responsive themes

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 11 months ago by keystone.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 2, 2014 at 7:24 pm #88266
    keystone
    Member

    Hi Folks,

    I want to add a Paypal Button to a page on an Agency Theme web site but the button is filling the available space even though the theme uses the "100%" info on image width. Do I add Width and Height to the image to fix this or is there another way? If I add fixed Width and Height, will that effect the responsiveness?

    Thanks in advance for any advice I can get on this...I have tried to google an answer but cannot seem to find what I need...probably asking the wrong question.

    Gordon J


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    http://hope.keystoneinternetsolutions.com.au/donations/
    February 2, 2014 at 7:34 pm #88269
    chillybin
    Member

    Add this to your style.css file, it should fix it up for you

    input[type="image"] {
      width: auto;
      max-width: 100%;
    }

    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    February 2, 2014 at 8:17 pm #88272
    keystone
    Member

    Thanks Chillybin...tried it out but no joy I am afraid...still got the huge paypal button. You can see where I placed it below...should it be placed somewhere else perhaps?

    /* Objects
    --------------------------------------------- */

    embed,
    iframe,
    img,
    object,
    video,
    .wp-caption {
    max-width: 100%;
    }

    input[type="image"] {
    width: auto;
    max-width: 100%;
    }

    img {
    height: auto;
    }

    .featured-content img,
    .gallery img {
    width: auto; /* IE8 */
    }


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    February 2, 2014 at 8:20 pm #88273
    chillybin
    Member

    There seemed to be a couple of corrupt tags coming through

    input[type="
    image"
    ] {
        width: auto;
        max-width: 100%;
    }

    This should be just

    input[type="image"] {
        width: auto;
        max-width: 100%;
    }

    So you might have to just type that in rather than copy and pasting from here


    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    February 2, 2014 at 8:32 pm #88274
    keystone
    Member

    Thanks again...I copied the html from the email and it was corrupted there. This time I took it from the entry above and it worked like a dream...thanks for the advice...

    Gordon J


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

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

© 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