Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #990591

    Hi there,
    your theme is great but I’ve got a little problem with the Slider captions on mobile devices (smaller than 480 px). The captions don’t make a line break as in the desktop-version (text align left) and/or aren’t displayed completely.
    Is it possible to define the slider-captions for displaying on mobiles seperately?
    Best regards
    Markus

    #990675

    Hey Medianautiker,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 479px) {
    .html_header_transparency #top .avia-builder-el-0 .slideshow_caption {
        padding-top: 0 !important;
    }
    }

    Best regards,
    Rikard

    #995072

    Hi Rikard,
    sorry for my late (this) respone, I had been a few days in holidays.
    I tried it out as you’ve suggested but unfortunately it still doesn’t work with the line break on mobiles (max-width: 479px).
    Do you have another idea?
    Best regards

    #995228

    Hi,

    Thanks for the feedback, I’m not sure what you mean by line break though? Could you try to explain a bit further or post a screenshot highlighting the problem please?

    Best regards,
    Rikard

    #995327

    Hi Rikard,

    ok, let me try to explain: on bigger screens like on PCs the text in the slider-pictures goes over more than 1 line and it’s visible only in the left half of the header. That’s what I want because on the right half of the slider are pictures.

    But on a small mobile screen the text is going over the complete width and that means over the picture, too, what it makes difiicult to read the text.

    So is it possible to define the text that it makes such a line break on small mobiles screens so that it’s visible only on the left half of the slider?

    Best regards
    Markus

    #995599

    Hi Markus,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width:479px){
        #full_slider_1, 
      #full_slider_1 .av_slideshow_full.avia-slideshow,
      #full_slider_1  .avia-slideshow-inner,
      #full_slider_1 .avia-slideshow li,
      #full_slider_1 .avia-slideshow li img {
        min-height: 200px;
      }
      #full_slider_1 .avia-slideshow li img {
        width: 273%;
      }
      .slideshow_inner_caption {
          height: 36%;
          top: 10%;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #997484

    Hi Viktoria,

    thanks for the informations and for the code. I’ve put it into “Quick CSS” and also via FTP into the “Costum CSS”, but unfortunately it doesn’t work.

    I’d like to send you screenshot, but where can I do this here?

    So what else can I do to get the slider-textes on mobiles only on the left half of the screen? It’s not so important that the buttons (below the text) would be visible.

    Would be great if you can help me.

    Best regards
    Markus

    #997677

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #997854

    Hi Basilis,
    ok, that’s cool, but I prefer not to use the plugin, so I’ve created a new user with admin-rights (details in the “private data” and I’ll delete it again on Tuesday.
    Please let me know if it’s required to delete the code that Victoria has sent me from themes/enfold/css/custom.css.
    Best regards
    Markus

    #998233

    Hi,

    1. For testing purpose, we need to disable CSS and JS merging from Enfold > Performance and remove the previous code from custom.css.
    2. Enable custom CSS class name support for Layout Builder elements from Enfold > Layout Builder.
    3. Assign a custom class “custom-slider” to the homepage slider.
    4. Since the mobile device has less space we will hide the paragraph text and make the headings 40% width of the slider and font size relative to 3.5% of the viewport width.
    by adding the below CSS in Quick CSS:

    /* Slider caption width */
    
    @media only screen and (max-width: 480px) {
    #top .custom-slider .slideshow_align_caption h2 {
        font-size:3.5vw!important;
        line-height: 20px;
        max-width:40vw;
    }
    
    #top .custom-slider .slideshow_align_caption p {
    	display:none;
    }}

    Best regards,
    Vinay

    #998342

    Hi Viney,
    many thanks for your help & work. Cool.
    But is it possible to display the paragraph text as well? The textes do have a higher priority for us than the buttons on mobiles.
    Best regards
    Markus

    #998428

    Hi,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width:479px){
      #full_slider_1, 
      #full_slider_1 .av_slideshow_full.avia-slideshow,
      #full_slider_1  .avia-slideshow-inner,
      #full_slider_1 .avia-slideshow li,
      #full_slider_1 .avia-slideshow li img {
        min-height: 250px !important;
      }
      #full_slider_1 .avia-slideshow li img {
        width: 258%;
      }
      .slideshow_inner_caption {
          height: 36%;
          top: 20%;
      }
        #top .custom-slider .slideshow_align_caption p {
          width: 50vw;
      }
    }
    
    

    Please remove this code:

    
    #top .custom-slider .slideshow_align_caption p {
    	display:none;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    • This reply was modified 6 years, 9 months ago by Victoria.
    #998463

    Hi Victoria,

    it works. Thanks a lot.

    Best regard
    Markus

    #998509

    Hi,

    Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Fullscreen Slider Caption on mobile’ is closed to new replies.