Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #755881

    Hi,

    I’ve add a layerslider to my site. In that slide there is a piece of text which should also be available on phones and tablets, that’s the part with the purple background. As I look at the preview in the editor, it al looks nice, but when I look at my screen and make it smaller the text is of course put over more lines, but the background belonging to it doesn’t. See the private part for a link

    Can you please help me out with the correct settings?

    I’ve added int the private parts links to some screenshots of my settings. Additional I’m using the following css:

    h1.ls-layer {
    	font-weight:400!important;
    	
    }
    
    .page-id-20 h1.ls-layer {
    	line-height:24px!important;
    	font-weight:400!important;
    	max-width:800px!important;
    	font-size:18px!important;
    	
    }
    

    Hope you can help me out.

    Regards,

    Erwin

    #758502

    Hi,

    Did someone already find time to look into this problem?

    Regards,

    Erwin

    #759003

    Hi,

    try this code inside Quick CSS field:

    @media screen and (max-width: 767) {
    h1.ls-layer {
    height: auto !important;
    }}

    Best regards,
    Andy

    #759037

    Hi Andy,

    Unfortunately, this doesn’t work. Do you have another solution/idea?

    Regards,

    Erwin

    #759071

    Hi,

    I had a typo in my code, so use this one instead:

    @media only screen and (max-width: 767px) {
    h1.ls-layer {
    height: auto !important;
    }}

    Best regards,
    Andy

    #759077

    Hi Andy,

    Thanks for the lightning fast reply!

    I’ve tried your code, but it doesn’t work. Changed it a bit to 100% and to min-height, but this doesn’t work also.

    Regards,

    Erwin

    #760030

    Hi,

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

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Andy

    #760039

    Hi Andy,

    The credentials are in the private part. There aren’t much plugins, but you’re free to deactivate them.

    Thanks!

    Regards Erwin

    #760196

    Hi,

    I added a width value to it and now it looks good to me:

    @media only screen and (max-width: 767px) {
    h1.ls-layer {
    height: auto !important;
    width: 200px !important;
    }}

    adjust if needed.

    Best regards,
    Andy

    #761653

    Hi ANdy,

    Thank you! Now I can adjust further.

    Regards,

    Erwin

    #762492

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Andy

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Behaviour layerslider on smaller screens’ is closed to new replies.