• Resolved Tom

    (@tom323)


    Hi there you plugin is great and I am using it..
    But on mobile its losing the page responsiveness
    I also checked on my iphone
    Let me know how to fix this and make it responsive with this plugin
    i.is.cc/nxYUwle.jpg

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gordon B?hme

    (@gorbo)

    Hi @tom323 ,

    looks like the spacing in your theme causes the box to be wider than the content area.

    You can easily edit the CSS yourself and adjust the values for the spacing. See the example https://gitlab.com/webwirtschaft/structured-content/issues/31

    Or simply assign your own CSS class in lightboxmodal and design the box as you like.

    Greetings, Gordon

    Thread Starter Tom

    (@tom323)

    Ok thanks! But changing the font size or weight only reduces the h title size, not reducing the box actually.

    I am looking to reduce the box size and make it responsive

    • This reply was modified 5 years, 1 month ago by Tom.
    Plugin Author Gordon B?hme

    (@gorbo)

    Hi @tom323 ,

    yes, because this was just an example. If you want to edit other things then go about it the way it was described:

    – first use the code inspector of your browser and have a look at the existing CSS rules for the content element.
    – just copy the existing CSS rules into your own, new CSS class, modify the values and save the CSS file

    The box got the CSS class ‘.sc_card’.

    .sc_card {
        -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.08);
        box-shadow: 0 2px 2px 0 
    rgba(0,0,0,.16),0 0 0 1px
    rgba(0,0,0,.08);
    border-radius: 4px;
    background:
        #fff;
        margin: 2em auto;
        width: 100%;
        overflow: hidden;
        padding: 1em;
    }

    So you need to change the value for for ‘width’.

    Greetings, Gordon

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site loses its responsiveness’ is closed to new replies.