Okay
  Public Ticket #2101190
Max width image block
Closed

Comments

  •  1
    matthewjones_ started the conversation

    Hi there,

    Is there any way to control the max width option for single image blocks? The lowest it goes is 50% - we were hoping to add an option for 25%.

    Thanks for your help,


    Matt

  •  8,994
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .img-with-aniamtion-wrap[data-max-width="50%"] img, .nectar-flickity:not(.masonry) .flickity-slider .cell .img-with-aniamtion-wrap[data-max-width="50%"] img {
        max-width: 25% !important;
        width: auto;
    }

    Thanks


    ThemeNectar Support Team