Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Side by side code blocks in mobile view


Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

3 answers to this question

Recommended Posts

  • 0

Yes I got help through sending a message to tuanphan. Thank you! Here is the answer if needed:

/* Mobile code blocks side by side */
@media screen and (max-width:767px) {
div#block-641d2b17a77fc9009ed6+.row .span-6 {
    width: 50% !important;
    float: left !important;
}
}

 

I still need help because I am wanting to remove the center gap between the two boxes. I had to reduce the text font to make it all fit and look right. But if I make the margin between the two smaller, I can increase the font size even a little. 

Link to comment
  • 0

Use this code

@media screen and (max-width: 767px) {
    div#block-641d2b17a77fc9009ed6+.row {
.span-6 {
        width:50% !important;
        float: Left !important
    }
.span-6:first-child .code-block {
        padding-right: 0px !important;
    }
.span-6:last--child .code-block {
        padding-left: 0px !important;
    }
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...