Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #274542

    Hi,

    I have a layerslider with a text layer, position 270px from left, so the text is in the middle of screen (15,6″).

    But with a smaller screen, the text (of course) isn’t in the middle anymore.

    How can I solve this? The “text-item” must be centered all times.

    Thanks!
    Myra

    #274686

    Hey Myra!

    Try using a percentage value instead of px.

    Best regards,
    Josue

    #274695

    Hi Josue,

    Thanks, that’s working!
    Another question, when looking in the demo, the text also shrinks with a smaller screen. My text stays big… any ideas?

    Best regards, Myra

    #274696

    Can you post the link to your website please?

    Regards,
    Josue

    #274701

    http://www.bureauboeren.nl/
    I disabled the maintainance mode.. hope my client doens’t notice :-)

    #274706

    Hey!

    Try adding this code to the Quick CSS:

    @media only screen and (max-width: 767px) {
         h1.ls-l {
             width: 100% !important;
             left: 0 !important;
             right: 0 !important;
         }
    }

    Cheers! 
    Josue

    #274713

    Thanks for your quick help, though itlooks like nothing changed.
    Cheers!

    #274718

    I’m not seeing the code being applied here (Quick CSS):
    http://www.bureauboeren.nl/wp-content/uploads/dynamic_avia/bureau_boeren.css

    Best regards,
    Josue

    #274721

    I use a child theme and put the code in the style sheet.. not ok?

    #274726

    I now have pasted the code in the quick css file (at the bottom), uploaded via ftp

    #274727

    Now is working, here’s how the text looks on smaller screens:

    Regards,
    Josue

    #274998

    Hi Joshua,

    still, I’m not happy with the result. Because the slider (thus the layer) are not really responsive like in this example.
    This website I also made with Enfold, the slider and text become smaller, and I’m wondering why now it’s different?
    http://www.car-consultancy.com

    • This reply was modified 10 years, 5 months ago by MyraD.
    #275230

    Hi!

    Looking at the site you are working on now it appears exactly the same. LayerSlider is its own entity and what I mean by that is that it has its own rules on how it responds based on all the settings the user applies to the LayerSlider slideshow settings. So adding in text, adding css to support any custom classes etc is all based on user input where the other elements inside of the theme are all setup and based on the theme wide settings which require much less user input or specific settings.

    Cheers!
    Devin

    #275238

    Hi,

    I note the same behavior between both sites, i’d say the difference is that the captions are in two lines in the other site:

    Cheers!
    Josue

    #275485

    Hi Devin and Josue,
    I solved the problem by help with the comments section on Themeforest.
    Thanks for your replys!

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Text on layer not responsive’ is closed to new replies.