Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1219241

    Hello,

    please i try to create 6th column on my site with no success.

    Placed the columns inside a color section. Used “custom-section” ID atribute for the section and added this to custom CSS but no result at all.

    #custom-section .flex_column.av_one_fifth {
    width: 14.5%;
    margin-left: 2%;
    }

    #custom-section .flex_column.av_one_fifth.first {
    clear: none;
    margin-left: 2%;
    }

    #custom-section .flex_column.av_one_fifth:nth-child(6) {
    margin-top: 0 !important;
    }

    #1219259

    you like to have 6 1/6 columns besides ?
    in one custom-section?

    give a custom ID or custom-class to your color-section : on top you have #custom-section ( custom-section in the unique ID field )
    drag 6 containers in the color-section ( it’s a matter of taste what you take. I put 6 1/5 containers in there. But in the end it doesn’t matter, because the width is generated differently) .

    Give a custom-class to those containers f.e.: one-sixth
    and do not set it to equal-height : this also is done bei flex-layout
    align-items: stretch is normal behavior.

    on this test-page i decided to have und 990px 3col besides and 2 rows
    under 768px 2cols besides and 3 rows
    under 480px one col full width:

    #custom-section .entry-content-wrapper {
      display: flex !important;
      flex-flow: row wrap;
      justify-content: space-between;
    }
    
    #custom-section .entry-content-wrapper::before, 
    #custom-section .entry-content-wrapper::after {
      display: none !important;
    }
    
    #custom-section .entry-content-wrapper .flex_column {
      flex: 0 1 auto;
      margin: 0 0 4% !important;
      width: unset !important;
    }
    
    #custom-section .entry-content-wrapper .flex_column.one-sixth {
      flex-basis: 16%;
    }
    
    @media only screen and (max-width: 989px) {
      #custom-section .entry-content-wrapper .flex_column.one-sixth {
        flex-basis: 30%;
        width: unset !important;
      }
    }
    
    @media only screen and (max-width: 767px) {
      #custom-section .entry-content-wrapper .flex_column.one-sixth {
        flex-basis: 48%;
        width: unset !important;
      }
    }
    
    @media only screen and (max-width: 479px) {
      #custom-section .entry-content-wrapper .flex_column.one-sixth {
        flex-basis: 100%;
        width: unset !important;
      }
    }

    see here: https://webers-testseite.de/cynthia/macika/

    • This reply was modified 4 years, 5 months ago by Guenni007.
    #1219582

    Thank you, this works perfect!

    and now i need to modify the mobile view to 2column instead of one – only for this section.

    Thank you

    #1219590

    Figured it out!
    modified under 480px to 48%.
    Great tutorial – thank you!

    #1219675

    Hi macika,

    Great, I’m glad that you got it working and thanks for sharing your code. Thanks also to @guenni007 for helping out and sharing.

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1219714

    We cen close it, thank you.

    #1220001

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘6th column creation’ is closed to new replies.