Images responsive only in Posts, not in Pages.

Discussion in 'Infoway WordPress Theme' started by jungledude, Nov 8, 2014.

  1. jungledude

    jungledude New Member

    Joined:
    May 29, 2013
    Messages:
    11
    Likes Received:
    1
    Location:
    Orange County, California
    This theme is fully responsive in all the posts, and it is responsive for all the text in the Pages, but the images don't scale down. Using the "max-width: 100%;" solution offered in another thread scaled the width, but the height remained the same so the images lost proportion. The solution to making the images in your Pages responsive AND proportional, without removing the size in each html file is to add come CSS. Here's how:

    Paste this code in Custom CSS. Get to where you enter the Custom CSS by going to:
    Appearance > Theme Option > Styling Option > Custom CSS Code

    Than paste this in:

    div.fullwidth img {
    max-width: 100%;
    height:auto;
    }
     
    annvb1 likes this.
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Please provide us your website url as well as the screenshot where you facing the problem.

    Thanks & Regards
    Yogesh Bhade
     
  3. annvb1

    annvb1 New Member

    Joined:
    Jul 25, 2012
    Messages:
    24
    Likes Received:
    1
    Location:
    Redondo Beach, CA

    Jungledude, thanks - your code fixed the same problem for me. Brilliant!
     

Share This Page