Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM WP Estate Property Slider – Center Images and keep image size in its original height and width size

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 3 years, 10 months ago.

  • Author
    Posts
  • #8633

    Anna
    Keymaster

    Theme Versions older than 3.01 Add this CSS line in child theme style.css:

    #pictureMap img {
    width: auto;
    height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    #image_full {
    position: relative;
    }

    For version 3.01 up add this CSS in Theme Options – Custom CSS or Child theme.

    /* =slider images */

    @media only screen and (min-width: 1024px){
    #pictureMap img {
    width: auto;
    height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    left: 0%;
    max-width: 1920px;
    }

    #image_full {
    position: relative;
    }

    }

    Thank you!

    Anna

    • This topic was modified 3 years, 10 months ago by  Anna.
    • This topic was modified 3 years, 6 months ago by  Anna.
    • This topic was modified 2 years, 9 months ago by  Anna.
    • This topic was modified 2 years, 9 months ago by  Anna.

You must be logged in to reply to this topic.