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. Issues with Fullscreen Slider on Landing Page

Issues with Fullscreen Slider on Landing Page

Scheduled Pinned Locked Moved General Discussion
13 Posts 2 Posters 29 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.
  • D Offline
    D Offline
    dennisbern
    wrote on Apr 3, 2025, 10:18 AM last edited by
    #1

    Hey,

    https://biografie.art/front

    I tried to create a fullscreen slider as a landing page, but I encountered several issues:

    1. The fullscreen slider images don’t adapt to the browser width when I resize the window. How can I make them responsive?

    2. I can’t completely hide the site title and menu bar. I used the following CSS code, which works for the footer but not for the navigation and title:

    /* Hide Navbar on LANDING */
    .slug-front .laynav {
        display: none !important;
    }
    
    /* Hide Site Title on LANDING */
    .slug-front .sitetitle {
        display: none !important;
    }
    
    /* Hide Footer on LANDING */
    .slug-front .footer {
        display: none !important;
    }
    

    Is there something I’m missing?

    1. The images appear pixelated. The resolution seems fine, but maybe I’m overlooking something. Is there a way to improve the image quality?

    Thanks in advance for your help, LayTheme forum! You’re a great support.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote 29 days ago last edited by
      #2

      1.:
      The fullscreen slider images don’t adapt to the browser width when I resize the window. How can I make them responsive?

      you are using row background. a webgl row background.
      row background images or row background webgl slideshows. they will always be sized in a way where they would create no gaps around them. so they will get cut off.

      hmm with just using a custom row background image we would have a chance of using custom css to size it differently.
      but with webgl slideshows, the sizing logic is in the js and theres no workaround

      if you would just use plain images inside the row, not a row background image, that would work

      or a fading autoplay carousel that shows the different texts

      please go to customize -> menu bar -> click hide
      or maybe its in menu style -> menu bar

      cause now you have this white bar at the top

      2.:
      I can’t completely hide the site title and menu bar. I used the following CSS code, which works for the footer but not for the navigation and title:

      you also need to hide mobile title and mobile navbar, mobile icons:

      .mobile-title,
      .navbar,
      .lay-mobile-icons-wrap{
      display: none!important;
      }
      

      and set mobile body padding to 0. that padding is there so the mobile menu bar doesnt overlap any content:

      body{
      padding-top: 0!important;
      }
      

      on desktop, site title and nav seem to be hidden

      1 Reply Last reply
      0
      • A Offline
        A Offline
        arminunruh
        Global Moderator
        wrote 29 days ago last edited by
        #3

        pixelated images:

        looking at what images are loaded to be used inside the webgl slideshow, i see the biggest image size available is already loaded for me on my bigger screen.
        try to export your images to an even bigger size

        the images appear to have a width of only 1684px which may not be enough

        but the webgl may also display the images not that well mmh
        can u first try to export your images to have a width of 4000px?
        then use those.
        lay theme will load smaller versions of the images if needed, based on what browser size u use when looking at the website

        1 Reply Last reply
        0
        • A Offline
          A Offline
          arminunruh
          Global Moderator
          wrote 29 days ago last edited by
          #4

          also please note with texts it can be better to have them as texts instead of as an image, cause of google

          D 1 Reply Last reply 25 days ago
          0
          • A arminunruh
            29 days ago

            also please note with texts it can be better to have them as texts instead of as an image, cause of google

            D Offline
            D Offline
            dennisbern
            wrote 25 days ago last edited by dennisbern 25 days ago
            #5

            @arminunruh So I made a carousel with my slider. And with the CSS code you gave me, its a perfect result, what I want for my site:

            https://biografie.art/front_var

            Thanks a lot.

            About the pixelated text: It would be a perfect solution for me if I could write the slides directly in the carousel addon. But: I need different background colours for each text. I think this is not possible or is it?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dennisbern
              wrote 25 days ago last edited by
              #6

              @arminunruh : Sorry, I just realised I still have problems with the CSS code. I think my code is too complicated.

              https://biografie.art/front_var/

              1. With the code below I do not have a navbar or menu on mobile/responsive pages at all when I go to my main page (it should be only on the landing page). It works fine on the desktop version.

              Bildschirmfoto 2025-04-14 um 11.30.55.jpg

              1. When I open the page, I have a white bar at the bottom. Also another problem in the mobile/responsive version of the site the footer is still activated.

              Mobile:

              Bildschirmfoto 2025-04-14 um 11.30.44.jpg

              Desktop:

              Bildschirmfoto 2025-04-14 um 11.32.24.jpg

              Here ist my Code:

              /* Hide Footer on LANDING*/
              .slug-front_var .footer{
              display: none!important;
              }

              .slug-front_var .head{
              display: none!important;
              }

              /* Hide Navbar on LANDING*/

              .slug-front .laynav{
              display: none!important;
              }

              /* Hide Navbar on LANDING*/
              .slug-front .sitetitle{
              display: none!important;
              }

              .mobile-title,
              .navbar,
              .lay-mobile-icons-wrap{
              display: none!important;
              }

              body{
              padding-top: 0!important;
              }

              /* Hide Footer on LANDING*/
              .slug-front .footer{
              display: none!important;
              }

              .slug-front .head{
              display: none!important;
              }

              /* Hide Navbar on LANDING_VARIANTE*/

              .slug-front_var .laynav{
              display: none!important;
              }

              /* Hide Navbar on LANDING*/
              .slug-front_var .sitetitle{
              display: none!important;
              }

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dennisbern
                wrote 23 days ago last edited by dennisbern 24 days ago
                #7

                The problem with the footer is solved. I am now manually adding the footer to each page.

                But still the menu on mobile is missing after clicking on the landing page (on the landing page it is correct that the mobile is hidden).

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote 21 days ago last edited by
                  #8

                  it should be

                  .slug-front .mobile-title,
                  .slug-front  .navbar,
                  .slug-front  .lay-mobile-icons-wrap{
                  display: none!important;
                  }
                  

                  This way, the mobile title, mobile navigation bar, and mobile menu icon are hidden only on the front page. I mean the page that has the slug front.

                  You look closely at the CSS that I gave you for hiding the mobile title, mobile navigation, and mobile bar. Then you see, it just hides it for all pages on a website.

                  Now, if you look at the code that you gave me when you first created this post, you used a slug class to only target one page.

                  Maybe you forgot that you can use this way to target CSS to only get applied to one page.

                  Please check the slug of your page if this is correct. I don't know if slug-front is the right CSS class.

                  D 1 Reply Last reply 15 days ago
                  0
                  • A Offline
                    A Offline
                    arminunruh
                    Global Moderator
                    wrote 21 days ago last edited by arminunruh 21 days ago
                    #9

                    No, there are no options to give text a colored background in a carousel.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      arminunruh
                      Global Moderator
                      wrote 21 days ago last edited by
                      #10

                      Can you Google how to use Chrome Inspector? Because with the inspector you can easily find out the HTML classes or IDs to use to write your CSS. Because, for example, you are staying on one page, the footer is showing. You could find out the CSS class of that footer. It might be different for desktop or mobile. And then write CSS to display:none that container.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        arminunruh
                        Global Moderator
                        wrote 21 days ago last edited by arminunruh 21 days ago
                        #11

                        If you want your carousel to fill out the whole browser height, then you have to create a carousel with a fixed height and set it to 100vh.

                        In the carousel modal where you edit or create your carousel, there is a radio input that you can select for fixed height.

                        Also make sure (of course) in your gridder of the page frame top is set to zero, frame bottom is set to zero and the carousel is sized to the whole width.

                        1 Reply Last reply
                        0
                        • A arminunruh
                          21 days ago

                          it should be

                          .slug-front .mobile-title,
                          .slug-front  .navbar,
                          .slug-front  .lay-mobile-icons-wrap{
                          display: none!important;
                          }
                          

                          This way, the mobile title, mobile navigation bar, and mobile menu icon are hidden only on the front page. I mean the page that has the slug front.

                          You look closely at the CSS that I gave you for hiding the mobile title, mobile navigation, and mobile bar. Then you see, it just hides it for all pages on a website.

                          Now, if you look at the code that you gave me when you first created this post, you used a slug class to only target one page.

                          Maybe you forgot that you can use this way to target CSS to only get applied to one page.

                          Please check the slug of your page if this is correct. I don't know if slug-front is the right CSS class.

                          D Offline
                          D Offline
                          dennisbern
                          wrote 15 days ago last edited by
                          #12

                          @arminunruh I cleaned up the code. And used yours. Now it works:

                          /* Hide Footer on LANDING*/
                          .slug-front_var .footer{
                          display: none!important;
                          }

                          /* Hide Navbar on LANDING*/
                          .slug-front_var .sitetitle{
                          display: none!important;
                          }

                          .slug-front_var .mobile-title,
                          .slug-front_var .navbar,
                          .slug-front_var .lay-mobile-icons-wrap{
                          display: none!important;
                          }

                          /* Hide Menu on LANDING*/
                          .slug-front_var .laynav{
                          display: none!important;
                          }

                          1 Reply Last reply
                          1
                          • A Offline
                            A Offline
                            arminunruh
                            Global Moderator
                            wrote 15 days ago last edited by
                            #13

                            ok im happy it works for u

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

                            8/13

                            Apr 18, 2025, 7:14 AM


                            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.
                            8 out of 13
                            • First post
                              8/13
                              Last post
                            0
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Search