Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

B

billo3D

@billo3D
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Carousel: responsive height without changing position of captions
    B billo3D

    Hi Richard,

    thanks so much for your quick response!
    Unfortunately the CSS doesn't affect anything. I guess a built-in padding-bottom overwrites any CSS.

    I then tried to manipulate via javascript:

    var element = document.getElementsByClassName('lay-carousel');
            console.log(element[0]);
            element[0].style.paddingBottom  = '20vh';
    

    This overwrites the built-in function, however shifts captions and numbers
    2021-03-31 12_45_04VORLAGE 2021-01.png

    Thanks for help!!
    Have a good day,
    Anna

    Addons

  • Carousel: responsive height without changing position of captions
    B billo3D

    Hi,

    I am searching for a way to constrain the height of the carousel to browser height without the positioning of numbers and image captions being affected, and without filling the slides. I can temporally replicate this in the browser by changing the computed paddin-bottom style on the .lay-carousel element. Am I missing something?

    Any help much appreciated!
    Thanks!
    Anna

    This is how I would like it to look like:
    2021-03-30 14_11_20-VORLAGE 2021-01.png

    Addons
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search