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

  1. Home
  2. General Discussion
  3. Carrousel fixed at the bottom of the page

Carrousel fixed at the bottom of the page

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 118 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    charlottevard
    wrote on last edited by
    #1

    Hi!

    I am currently redesigning my portfolio and I am stuck on a problem related to carrousels.

    For each project page, I would like to have an unscrollable page with a carousel taking the whole width + a collapsed text description that appears when you click on "info".
    You can find what I have achieved to do through this link: https://charlottevard.com/projectpagetest/?preview_id=53&preview_nonce=16daa87ffb&_thumbnail_id=40&preview=true

    And here is a screenshot of a test I designed in Indesign:
    Capture d’écran 2023-10-16 à 10.48.55.jpg

    I have not worked on the menu or font styles yet because I am stuck on the carrousel settings. I want the carrousel to adapt its height so that the page is not scrollable but the carrousel is taking all the space available. For now it has a fixed height of 70vh and I wanted to try and make it fixed to the bottom by adding a bit of CSS but when I do so the carrousel just disappears...

    The code I wrote (CAR01 is my carrousel ID):
    #CAR01 {
    position: fixed;
    bottom: 1vh;
    }

    Do you know if there is a way of making the height adjustable + fixed to the bottom, while making sure it doesn't go over the height of the page so it doesn't scroll?

    Thanks for your help!!

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #2

      yea!
      remove your custom css.

      right click an empty part of the row.
      click "use browser height for row height"

      then align your carousel to the bottom

      Screenshot 2023-10-18 at 13.04.45.png

      also make sure frame top and frame bottom is set to 0!

      Screenshot 2023-10-18 at 13.05.18.png

      if you want your carousel to have some space at the bottom, right click it and choose "space below":

      Screenshot 2023-10-18 at 13.07.24.png

      if you click on the "px" you can switch from px to %

      1 Reply Last reply
      0
      • C Offline
        C Offline
        charlottevard
        wrote on last edited by
        #3

        Hi Armin!

        Thanks for your answer, unfortunately it doesn't fix my problem... I tried it like this already but if I set the carrousel's row as full browser height the text above still takes some space so the page is scrollable...
        Here is what it looks like with your method: https://charlottevard.com/projectpagetest/

        Maybe my message wasn't clear enough, let me explain it differently. Here is a screenshot of what I did in Indesign (and what I would like to achieve in laytheme):

        Capture d’écran 2023-10-16 à 10.48.55.jpg

        Ideally what I would like to do would be to set the top margin so the text (in the example "An Ocean of Ideas") is at a precise height and then the carrousel adapts it's height to use all the available space below while keeping the page not scrollable. Is it more clear?

        I thought that maybe if I assigned a height to the carrousel (in the carrousel menu - Fixed Height - 70vh for example) and I aligned it to the bottom with the little button you showed me it would work but it doesn't align it to the bottom.

        Let me know if you need screenshots of specific parts of the set up so you can understand better!

        Thanks

        arminunruhA 1 Reply Last reply
        0
        • C Offline
          C Offline
          charlottevard
          wrote on last edited by
          #4

          Hello again,

          I would like to know if anyone has had the chance to take a look at this problem? I feel like it shouldn't be too complicated to achieve what I want to do but can't figure it out on my own...

          Thanks for the help!

          1 Reply Last reply
          0
          • C charlottevard

            Hi Armin!

            Thanks for your answer, unfortunately it doesn't fix my problem... I tried it like this already but if I set the carrousel's row as full browser height the text above still takes some space so the page is scrollable...
            Here is what it looks like with your method: https://charlottevard.com/projectpagetest/

            Maybe my message wasn't clear enough, let me explain it differently. Here is a screenshot of what I did in Indesign (and what I would like to achieve in laytheme):

            Capture d’écran 2023-10-16 à 10.48.55.jpg

            Ideally what I would like to do would be to set the top margin so the text (in the example "An Ocean of Ideas") is at a precise height and then the carrousel adapts it's height to use all the available space below while keeping the page not scrollable. Is it more clear?

            I thought that maybe if I assigned a height to the carrousel (in the carrousel menu - Fixed Height - 70vh for example) and I aligned it to the bottom with the little button you showed me it would work but it doesn't align it to the bottom.

            Let me know if you need screenshots of specific parts of the set up so you can understand better!

            Thanks

            arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by arminunruh
            #5

            @charlottevard

            sure

            use fixed height: 100vh - 20px

            Screenshot 2023-10-27 at 11.34.57.png

            but probaby 20px needs to be a different value

            set row gutters to px

            set a value for the row gutters

            remember that value

            go to your page (not gridder but on the frontend)
            in chrome press command, shift, i
            or if you use a different browser: google "how to open browser inspector or dev tools"
            Screenshot 2023-10-27 at 11.32.22.png

            click this little arrow

            then move your mouse over your text:

            Screenshot 2023-10-27 at 11.32.47.png

            see? its 18px height.
            now add 18px to your row gutter?? maybe its 25px

            right now your row gutter is in %, make it so its in px ..

            then: carousel fixed height: 100vh - yourvaluehere px

            1 Reply Last reply
            0
            • C Offline
              C Offline
              charlottevard
              wrote on last edited by
              #6

              Hi Armin,

              Thanks it works perfectly!! I had tried this previously but with % instead of px and it didn't work. Glad to know it works with px!

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              I also code custom websites or custom Lay features.
              💿 Email me here: 💿
              info@laytheme.com

              Before you post:
              1. When using a WordPress Cache plugin, disable it or clear your cache.
              2. Update Lay Theme and all Lay Theme Addons
              3. Disable all Plugins
              4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

              This often solves issues you might run into

              When you post:
              1. Post a link to where the problem is
              2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
              3. If the problem is difficult to explain, post screenshots / link to a video to explain it
              Online Users
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
              laytheme.com
              • Login

              • Don't have an account? Register

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