Okay
  Public Ticket #2143108
Full width question
Closed

Comments

  • Mark Bolden started the conversation

    I would like to create a background to an HTML input field . I am not sure of the best method with Layerslider because I cannot get the green background to go full width. I tried making an image layer with a 1200x100 green bar as rge background and set the size to cover.

    You can see in the dev link I provided that it always falls short. I also tried making an HTML layer with no luck. It still does not extend full width. I attached an example of what I am trying to achieve with the green bar. Any ideas anyone? 

    Thanks

    -Mark

    Attached files:  mockup.png

  • Mark Bolden replied

    I have decided to just code it outside of the slider.

    -M

  •  441
    Attila replied

    Hello Mark,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    To force a layer to fill out the whole slider, you can simply enter 100% to the layer's Width and Height fields in Styles tab. This way it will always match the slider's canvas, leaving no empty space.

    Or alternatively you can add it as a slide background and select cover or stretch mode for it. The result will be the same.

    Best Regards,
    Attila | Kreatura Support Team