Tagged: Buttons, disappear, sliders, Smartphones
-
AuthorPosts
-
January 29, 2020 at 10:08 am #1179336
Good Morning all!
I have noticed several times that the buttons on sliders on smartphones disappear and cannot be seen.
That’s why I never use it. But they are nice and it would be good to be able to use them …
This is even the case on your website … see attached examples.
How can the problem be solved?
best regards,
Susannehttps://erkant.de/wp-content/uploads/2020/01/Screenshot-8.png
https://erkant.de/wp-content/uploads/2020/01/Screenshot-9.png
https://erkant.de/wp-content/uploads/2020/01/Screenshot-7.pngJanuary 29, 2020 at 10:51 am #1179355Second question: How can I color the background behind the text differently in the slider?
January 29, 2020 at 5:58 pm #1179496Hi,
Thanks for contacting us!
1- Please edit your slides and decrease font size on mobile devies – https://imgur.com/a/4G858kx. I believe that should help as buttons are actually there but not displayed as they do not fit mobile version.
2- Please edit your slider and go to Advanced > Developer Settings and add a custom class to your slider (“my-custom-slider” in example below) and then add following code to Quick CSS in Enfold theme options > General Styling.my-custom-slider .avia-caption-content, .my-custom-slider .avia-caption-title { background-color: orange!important; }
Best regards,
YigitJanuary 30, 2020 at 8:27 am #1179720Hello Yigit,
to 1- I need another way because: every slider on smartphones and tablets is too small. Not high enough! This is not impressive and the font is always too small on it.
The start picture and slider should always be at least 50% high, i.e. 50% from the smartphone monitor, i think.
How can i do that, all over the website?
best regards,
SusanneJanuary 30, 2020 at 3:03 pm #1179906Hi Susanne,
Since image is responsive, there is not enough space to display all content on mobile. You could try creating another slider, closer to square shape so there would be enough height, and choose to display it only on mobile under Advanced tab of your element and you can hide your current slider on mobile. Would that solution work for you? :)
Best regards,
YigitJanuary 31, 2020 at 8:50 am #1180177Hi Yigit,
that sounds like puzzle work … Can’t it be easier?
Can it go as described here?
However, the code is incorrect; the width must go out of it (but how? what is the right code?)
best regards,
SusanneFebruary 4, 2020 at 7:10 am #1181175Hi,
Thank you for the update.
Have you tried using the Fullscreen instead of the Fullwidth Slider? The Fullscreen slider should provide more space for the caption and buttons on mobile view.
If you really want to adjust the height of the current slider, try this css code.
@media only screen and (max-width: 767px) { #top .avia-slideshow-inner { min-height: 391px; } .av-single-slide, .avia-slideshow-inner li .avia-slide-wrap { height: 100%; } .avia-slideshow-inner li .avia-slide-wrap img { object-fit: cover; width: auto; max-width: none; left: -500px !important; } }
Screenshot: https://imgur.com/a/yuZYz3K
Best regards,
IsmaelFebruary 10, 2020 at 2:29 pm #1183062Hello, it doesn’t work so well, it doesn’t look nice.
But: I like the following page: https://erkant.de/blog-posts/
It is 100% on the smartphone and looks good on it.
But designing it like this is more complex than a slider:
I used a color section with a minimum height of 100% of the browser.
Then I used buttons and so text with a background – instead of a slider.Short: I need a function in the Avia editor for sliders like color sections “sections height”
best regards,
SusanneFebruary 12, 2020 at 4:09 am #1183735Hi,
Thank you for the info.
Again, you can instead use the Fullscreen slider if you want a slider that automatically inherits the height of the browser window. It’s the same as setting the minimum height to 100%. Unfortunately, it’s not possible to add the minimum height option without significant amount of modification in the shortcode files.
Best regards,
IsmaelFebruary 13, 2020 at 4:24 pm #1184196Hello again,
I discovered an Avia feature that may be new?
Subject: Slide show. Under “Style” you can specify the minimum height of the slider in pixels.
https://tiefenschaerfe.de/wp-content/uploads/2020/02/Screenshot-42.png
best regards
Susanne- This reply was modified 4 years, 10 months ago by tiefenschaerfe.
February 17, 2020 at 3:43 am #1185054 -
AuthorPosts
- You must be logged in to reply to this topic.