Slider Image Aspect Ratio

Discussion in 'Compass WordPress Theme' started by charlies, Apr 24, 2016.

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

    charlies New Member

    Joined:
    Mar 11, 2016
    Messages:
    19
    Likes Received:
    0
    Location:
    Rutland, MA
    Slider image aspect ratio is broken at various resolutions espec. smartphones in portrait. My LG Nexus 5x and other phones exhibit this problem. Google Chrome's responsive tool will show you.
     

    Attached Files:

  2. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    Please 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: 480px){
    .bg-img img {
        width: 80%;
        height: auto;
    }
    }
    Change the numeric value as per the requirement..

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. charlies

    charlies New Member

    Joined:
    Mar 11, 2016
    Messages:
    19
    Likes Received:
    0
    Location:
    Rutland, MA
    Thanks, Priyanka. :)
     
  4. priya

    priya Guest

    You're welcome..:)

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
Thread Status:
Not open for further replies.

Share This Page