Slider header landingspage

Discussion in 'Subrion CMS Plugins Discussion' started by tucker.nl, Feb 14, 2017 at 4:15 PM.

  1. tucker.nl

    tucker.nl New Member

    Hello, how do I get the photos in the full width at the slider?

    The photos are all 1920 x 700 px

    thank you in advance

    Attached Files:

  2. olairmarcos

    olairmarcos Member

    Add in the file: plugins/slider/templates/front/css/style.css

    img.imgcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    Change in the file: plugins/slider/templates/front/block.slider.tpl

    Change line 6:
    <img src="{printImage imgfile=$item.image title=$item.name fullimage=true url=true}" alt="">
    to:
    <img class="imgcenter" src="{printImage imgfile=$item.image title=$item.name fullimage=true url=true}" alt="">

    Good job.
  3. tucker.nl

    tucker.nl New Member

    Thanks olairmarcos,

    And how to combine the slider with "parallax" scrolling effect?

Share This Page