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. Addons
  3. Full screen carousel with max width of content

Full screen carousel with max width of content

Scheduled Pinned Locked Moved Addons
13 Posts 4 Posters 777 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.
  • R Offline
    R Offline
    ryanbartaby
    wrote on last edited by
    #4

    Hi @mariusjopen

    I’m almost there after using the ‘Cover’ feature, which got the parallax working. But the carousel captions are still missing and I can’t get it to be full screen while setting a max width for the rest of the site.

    Thanks

    1 Reply Last reply
    0
    • R Offline
      R Offline
      ryanbartaby
      wrote on last edited by
      #5

      Hi @mariusjopen

      I’m still trying to work out some of the snags but I’m one step closer: I removed some custom code from the other forum thread that I referenced in my original post, which has almost returned the carousel captions. But I then loose those captions if I set the carousel to ‘Align Middle’. On larger screens the captions reappear but the images aren’t filling the browser.

      I’m also still trying to make the image fill the browser while setting a max width for the rest of the site.

      Thanks

      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        mariusjopen
        Global Moderator
        wrote on last edited by
        #6

        Dear @ryanbartaby
        can you use the CUSTOM CSS to stretch the height of the carousel to 100% and to move the captions up?

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • R Offline
          R Offline
          ryanbartaby
          wrote on last edited by
          #7

          Hi @mariusjopen

          I’m not sure I understand. The carousel fills the height of the browser fine using the Cover feature, but I don’t know how to move the captions up – I can’t see them anywhere at the moment.

          I’d also like to fill the width of the browser with the carousel images – at the moment they stop short at the sides because I have a max width set to 1700px. But I’d like the images to fit the width of the browser.

          Thanks for your help so far.

          1 Reply Last reply
          0
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #8

            Dear @ryanbartaby
            the thing is that you need to play around with the CSS.
            You need to give the slideshow or the image in the slideshow a width of 100vw and a height of 100vh.
            Probably you need to give the image itself an object: cover.

            It is try and error. No real magic. All possible.

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • R Offline
              R Offline
              ryanbartaby
              wrote on last edited by
              #9

              Thanks @mariusjopen

              I can’t find the correct ID using Inspect in Chrome (or should I be looking for a class?) for the carousel in order to set the width to 100vw. I’m happy to play around with the CSS but have no idea if I’m selecting the right elements.

              This is what I’ve tried adding to the custom CSS so far:

              #lay-carousel-slide {
                  width: 100vw;
              }
              

              I’ve also tried assigning an ID to the carousal in Gridder, but still can’t get it to work:

              #carousel-full {
                  width: 100vw;
              }
              

              I’ve made a copy of the homepage to test with until I can get it to work: https://twodesign.dreamhosters.com/home-2

              Thanks

              1 Reply Last reply
              0
              • mariusjopenM Offline
                mariusjopenM Offline
                mariusjopen
                Global Moderator
                wrote on last edited by
                #10

                Dear @ryanbartaby
                try something like this:

                img.carousel-lazy-img.h100.lazyloaded {
                height: 100vh;
                width: 100vw;
                object-fit: cover;
                }
                
                .slide-inner {
                    height: 100vh;
                    width: 100vw;
                }
                
                .row.one-col-row {
                    height: 100vh;
                }
                
                .lay-carousel-slide.lay-carousel-slide-img.transition {
                    height: 100vh;
                }
                

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  Brant
                  wrote on last edited by
                  #11

                  Hi Marius, unfortunatley It's not working for me either. Any other idea to make this work? thank you!

                  www.bodyandspace.de

                  1 Reply Last reply
                  0
                  • RichardR Offline
                    RichardR Offline
                    Richard
                    Global Moderator
                    wrote on last edited by
                    #12

                    Dear @Brant

                    Nice website :)

                    Since this thread was 7 months ago, is it possible to refine what you are after
                    What carousel area of your website do you wish to change? is it on the main page,

                    Do you need the captions and numbers to sit within the carousel and not below it?

                    Let me know

                    All the best
                    Richard

                    B 1 Reply Last reply
                    0
                    • RichardR Richard

                      Dear @Brant

                      Nice website :)

                      Since this thread was 7 months ago, is it possible to refine what you are after
                      What carousel area of your website do you wish to change? is it on the main page,

                      Do you need the captions and numbers to sit within the carousel and not below it?

                      Let me know

                      All the best
                      Richard

                      B Offline
                      B Offline
                      Brant
                      wrote on last edited by
                      #13

                      @Richard-Keith Hi Richard, thanks for coming back at me on this! I've actually put the max-width of the site to "0" now, so i dont have the problem anymore with the carousel. Originally I couldn't fit the carousel to 100%, as it would only go as far as the max-width. Hope that makes sense. Thanks and maybe you have a solution for this?

                      1 Reply Last reply
                      0
                      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
                      A
                      alasdair17
                      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