Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1016345
    AmfiKreativ
    Participant

    Hi

    We are having a problem. We want to make a custom class for different breakpoints for our site for the padding on the sections. So we set this code:

    .x-section-2 {
        float: none;
        display: block;
        width: auto;
        padding: 0px 87px; 
    }

    But when we run it, the line:
    padding: 0px 87px;
    is ignored. See attached image.

    Why?

    Thomas

    #1016348
    Christopher
    Moderator

    Hi there,

    Please add !important after padding value to overwrite inline CSS.

    Thanks.

    #1021786
    AmfiKreativ
    Participant

    HA! We thought we had tried this. Works now! Thanks.

    #1021983
    Paul R
    Moderator

    You’re welcome! 🙂

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