Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1414433

    gshallard
    Participant

    Hi Guys,

    I am using the below code to remove the column containers on mobile view. It is also removing however the padding on the nav bar. Can you please advise how to adjust to only target the body content below the nav bar and excluding the footer.

    https://www.affinityequineinsurance.com.au/equine-online-quote/

    
    @media (max-width: 767px){
        body .no-pm {
            padding:15px !important;
            margin:15px !important;
        }
      .x-container.max {
        max-width: 100%;
        width: 100%;
    }
    }
    

    Thank you!

    #1414749

    Thai
    Moderator

    Hi There,

    Please try with this CSS:

    @media (max-width: 767px){
    	body .no-pm {
    		padding:15px !important;
    		margin:15px !important;
    	}
    	.x-section .x-container.max {
    		max-width: 100%;
    		width: 100%;
    	}
    }

    Hope it helps 🙂