Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1214681
    ZerotoOne
    Participant

    hey there,
    Id like to keep the 1/2 + 1/2 column layout on mobile. http://prntscr.com/ctcrf6
    thanks for your help! 🙂

    #1214908
    Joao
    Moderator

    Hi There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Joao

    #1216353
    ZerotoOne
    Participant
    This reply has been marked as private.
    #1216715
    Friech
    Moderator

    Hi There,

    Thank you for the credentials, you can add this under Custom > CSS in the Customizer.

    @media (max-width:  767px) {
    	.x-column.x-sm.stay-inline {
    		float: left;
        	width: 48%;
        	margin-right: 4%;
    	}
    	.x-column.x-sm.stay-inline:last-of-type {
        	margin-right: 0;
    	}
    }

    Then apply the class stay-inline to 1/2 columns that you want to stay inline even in mobile view.

    Hope it helps, Cheers!

    #1217487
    ZerotoOne
    Participant

    thank you! I applied the class to the columns but it does not work :/

    #1217776
    Rue Nel
    Moderator

    Hello There,

    The code did not work because you were using a marginless columns. Please have your code updated and use this instead:

    @media (max-width:  767px) {
    	.x-section .x-container.marginless-columns .x-column.x-sm.stay-inline {
            display: inline-block;
    		float: left;
        	width: 48%;
        	margin-right: 4%;
    	}
    
    	.x-section .x-container.marginless-columns .x-column.x-sm.stay-inline:last-of-type {
        	margin-right: 0;
        	padding-left: 0 !important;
    		padding-right: 0 !important;
     }
    }

    Hope this helps. Kindly let us know.

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