Home / Forums / ePix Support / Making Slider images fit on Home Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts

  • Peter Cane
    Participant

    I can each image from my slider to fit them on my home page using fit_contain on each image. But is there a global way to make the images fit from a slider group without having to edit each image in the group?


    Peter Cane
    Participant

    (corrected entry) I can edit each image from my slider to get them to fit the home page using fit_contain. But this requires adding fit_contain to each image in a large slider gallery, is there a global way to make the images fit from a slider group without having to edit each image in the group?

    Andy
    Andy
    Keymaster

    Hi Peter,

    We could add a bit of Custom CSS for this. If you send me a link to the page with the Gallery on, I can give you some CSS to achieve this.


    Peter Cane
    Participant

    thanks Andy, here is the link.

    http://marketingimagephotography.com/

    Andy
    Andy
    Keymaster

    Hi Peter,

    For the home page only, try adding this to Appearance > Theme Options > Customize > Custom CSS:

    .page-id-39 .image-wrapper {background-size:contain !important;}

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.