Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1152001

    On the current PC screen
    0000 <-It looks like 4 listed

    Current on mobile screen
    0
    0
    0
    0
      It looks like this.

    On mobile
    00
    00
    I want to make it look like this

    What’s the way?

    How can I fix this with css?

    • This topic was modified 6 years ago by ETear.
    #1152362

    Hey Designer,

    Thanks for providing us an admin access to your site.
    We have done the modification on your site. Here are the steps we’ve done:
    1. In Enfold > Layout Builder > check Show element options for developers (Enfold 4.5.7, in the latest version of Enfold it’s a dropdown)
    2. Edit Color Section, set Custom CSS Class field to mobile-two-columns
    3. In Enfold > General Styling > Quick CSS, we added this css code (this affects mobile and ipad portrait mode):

    @media only screen and (max-width:989px) {
      .responsive #top #wrap_all .mobile-two-columns .av_one_fourth {
        margin-left: 2%;
        width: 48%;
        clear: none;
      }
    
      .responsive #top #wrap_all .mobile-two-columns .entry-content-wrapper .av_one_fourth:nth-child(2n+1) {
        margin-left: 0;
        margin-right: 2%;
        clear: both;
      }
    }

    4. since the site still fetches the old css, I have temporarily disabled CSS file merging and compression in Enfold > Performance (you can enable it again if it fetches the new css).

    If you need to apply this change on other 4 columns inside a color section, just repeat step 2 (only).
    Let us know if you need further assistance.

    Best regards,
    Nikko

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