Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1008364

    I wanted to align the content on my columns to the bottom of the columns in the footer. So after I got some help on the forum – the code worked great and I said -go ahead and close the thread…..

    #footer .container {
    display: flex;
    align-items: flex-end;
    }

    #footer .container .textwidget p:last-child {
    margin-bottom: 0 !important;
    }

    The only problem is that I realized only after I said ‘close the thread’ that it’s completely screwed it up on mobile devices. I am pretty sure all I need to do is add the bit of code that says “just apply this to larger screens” …. if anyone can help me change the above code to apply it only to the larger screens, that would be fantastic. thanks, – Danielle

    #1008368

    don’t know where your “split point” is when layout goes to mobile – but in most default cases it is 768px or 990px so:

    @media only screen and (min-width: 768px){
    	#footer .container {
    	display: flex;
    	align-items: flex-end;
    	}
    
    	#footer .container .textwidget p:last-child {
    	margin-bottom: 0 !important;
    	}
    }
    #1008392

    Hi,

    Thanks for helping out @guenni007, did you try that out @Transform-You?

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.