Issues with Fullscreen Slider on Landing Page
-
also please note with texts it can be better to have them as texts instead of as an image, cause of google
-
also please note with texts it can be better to have them as texts instead of as an image, cause of google
wrote 20 days ago last edited by dennisbern 21 days ago@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?
-
wrote 20 days ago last edited by
@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/
- 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.
- 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:
Desktop:
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;
} -
wrote 19 days ago last edited by dennisbern 19 days ago
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).
-
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.
-
No, there are no options to give text a colored background in a carousel.
-
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.
-
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.
-
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.
wrote 11 days ago last edited by@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;
} -
ok im happy it works for u
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it