Images on mobile platform

Discussion in 'Gommero WordPress Theme' started by robertssonmedia, Feb 16, 2015.

Thread Status:
Not open for further replies.
  1. robertssonmedia

    robertssonmedia New Member

    Joined:
    Feb 12, 2013
    Messages:
    4
    Likes Received:
    0
    The slider is ok, but the images on the pages is not responsive when they opens on mobile platform. How do I solve this problem?
    www1.msfmalungsalen.se
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello!


    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    @media only screen and (max-width: 767px) and (min-width: 480px)
    {
    .feature_content .feature img {
      width: 100%;
      margin-left: auto;
    }
    }
    
    Thanks & Regards
    Pramod
     
  3. robertssonmedia

    robertssonmedia New Member

    Joined:
    Feb 12, 2013
    Messages:
    4
    Likes Received:
    0
    It don´t work. Looks exactly the same as before.
     
  4. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hey robertssonmedia!

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .main_content img {
    width: 100% !important;
    height: auto !important;
    }
    Thanks,
    Praveen
     
  5. robertssonmedia

    robertssonmedia New Member

    Joined:
    Feb 12, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks Praveen, this solved the problem with images on the pages. But a new problem appeared. Something happened with the slider on the first page. These images are cut when looking in the phone?!
     
  6. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi,

    Please replace the earlier code given to you with the code given below.

    Code:
    .main_content .fullwidth p img {
    width: 100% !important;
    height: auto !important;
    }

    Thanks,
    Praveen
     
  7. robertssonmedia

    robertssonmedia New Member

    Joined:
    Feb 12, 2013
    Messages:
    4
    Likes Received:
    0
    Perfekt!

    Thanks,
    robertssonmedia
     
Thread Status:
Not open for further replies.

Share This Page