Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1226476
    strandbein
    Participant

    I know this, but if I set style width:30% then on mobile it looks crappy.

    #1226789
    Rad
    Moderator

    Hi there,

    Should wrap your CSS with @media query to ensure that it will only take effect on certain devices. For example,

    @media ( min-width: 980px ) {
    
    .sample_class {
    
    }
    
    .sample_style {
    
    }
    
    }

    Equivalents are

    min-width: 980px for desktop
    max-width: 979px for tablet
    max-width: 767px for mobile

    Hope this helps.

    #1227076
    strandbein
    Participant

    Hi,
    that sounds good, but is too much for my skills.
    The easiest way would be an optional solution for input in cornerstone:
    1/6 + 1/3 + 1/2 (what is actually possible)
    and also
    0.3 + 0.3 + 0.4

    Regards,
    Jens

    #1227086
    Rad
    Moderator

    Hi there,

    In that case, you may use those available options from cornerstone. And since it’s based on pre-calculated columns, it may not be as exact as 30% or 40%. The purpose of that custom CSS is when you’re trying to achieve a setup that isn’t available from current options. You can’t enforce 30% and 40% through that column options.

    Thanks!

    #1227249
    strandbein
    Participant

    Ok, thank you nevertheless.

    Regards,
    Jens

    #1227541
    Rad
    Moderator

    You’re welcome!

  • <script> jQuery(function($){ $("#no-reply-1223683 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>