Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1344408
    pammyap
    Participant

    Hi, I’ve tried using this code to fix the background image for display 767px and below:

     @media (max-width:  767px) {
    	.backstretch {display: none;}
    
    	body {
    		background-image: url(http://filename.jpg);
    	    background-size: cover;
    	    background-repeat: no-repeat;
    	}
    }

    however, i’m not seeing any changes in the cornerstone screen size simulator. Any help please?

    #1344655
    Thai
    Moderator

    Hi There,

    Please provide us with your website URL so we can take a closer look.

    Thanks.

    #1345425
    pammyap
    Participant
    This reply has been marked as private.
    #1345737
    pammyap
    Participant

    ah i ran out of time so decided to just duplicate the section and hide based on screen width instead.

    #1345800
    Nico
    Moderator

    Hi There,

    I could not be able to see the link anymore. However, I could see that you have done it already. And yes, what you did is almost the same pattern and functionality as your code above.

    We could not make it on time due to we answer thread from oldest to newest.

    Please let us know if you need anything else.

    Thank you for understanding.

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