Okay
  Public Ticket #1911813
Centered Carousel AND Fullscreen
Closed

Comments

  •  1
    Greg started the conversation

    Hi again,

    How is best way to achieve on homepage:

    Fullscreen slider

    AND

    Centered carousel


    So I want background image/video full screen and then I would like the carousel titles and description centered - so middle of screen is position 1.


    Thank you kindly!

  •  1,823
    Support replied

    Hello Greg,

    try adding

    centeredSlides: true,

    on line 801 in /js/scripts.js so that the slider options would look like


    slidesPerView: 'auto',

    centeredSlides: true,

    direction: "horizontal",
    loop: true,
    grabCursor: true,
    resistance : true,
    resistanceRatio : 0,
    speed:800,
    autoplay: false,
    effect: "slide",
    mousewheel: true,


    Hard refresh the page (Ctrl+F5) to see the changes

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1
    Greg replied

    Thank you that is great. I added code but the descriptions are not centred...how is best to centre descriptions with titles?

  •  1,823
    Support replied

    Hi Greg,

     the descriptions cannot be centered under titles because the structure is different than the centered slider... you can move actually the descriptions more to the right or centered them in the middle, but they will show the same position for each slide.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1
    Greg replied

    I understand! Of course...it makes sense why they are separate.


    Thank you so much for helping