Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1122202
    Aaron
    Participant

    Hi,

    I have current padding on a background image set to 66px 15px 100px 0px, done through cornerstone editor adding values in through the padding section.

    I want to have padding at ‘14%’ at this size, this is my CSS for my media query:

    @media (max-width: 2600px) and (min-width: 1500px)
    .hero-header {
        padding: 14%;
    }

    the section has the class of ‘hero-header’ but the padding isnt working, and is crossed out on inspect element when checked, how can I fix this?

    Thanks!

    #1122309
    Thai
    Moderator

    Hi There,

    Please try with this CSS:

    @media (max-width: 2600px) and (min-width: 1500px){
    	.hero-header {
    	    padding: 14% !important;
    	}
    }

    Hope it helps 🙂

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