Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #315976

    Hi,

    I am trying to create 3 equal columns with 2 simple borders placed between 1 and 2, and between 2 and 3, where the borders would be placed in the middle between the columns. How is that possible with the current grid system where margins are placed only on one side of a column and I cannot add classes to columns?
    Thanks!

    #316480

    Hi yavors!

    Please add a color section element to your page with a custom ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png
    then place your three 1/3 column elements inside it and then add following code to Quick CSS in Enfold theme options under General Styling tab

    #your-custom-id .av_one_third { border: 2px solid red!important; padding: 5px; }

    If that does not help, please post a screenshot and show the changes you would like to make so we can make sure that we are on the same page :)

    Best regards,
    Yigit

    #316547
    This reply has been marked as private.
    #316551

    Hey!

    Can you post the link to your website please?

    Regards,
    Yigit

    #316603

    Working locally for now.
    But the concept is simple… 3 1/3 columns in a color section, need to have centered borders between them.

    #316613

    Hey!

    Please use following code instead

    #your-custom-id .av_one_third { border-right: 1px solid #888; padding: 5px; }
    #your-custom-id .avia-builder-el-last { border: none !important; }

    Cheers!
    Yigit

    #316621

    Again…
    The borders are not center aligned between the column cuz of the margin-left of the columns…

    div .av_one_third {
    margin-left: 6%;
    width: 29.333333333333332%;
    }

    I don’t want to rewrite the grid system…

    #316627

    Hey!

    You can fix it with following code

    #your-custom-id .av_one_third { padding-right: 6%!important; }

    you may need to adjust those values.

    Best regards,
    Yigit

    #316629

    NEvermind, fixed like this:

    @media only screen and (min-width: 768px) {
    
    	#cats_section .el_before_av_one_third   { border-right: 1px solid #e6e6e6; padding-right: 3%; margin-left: 3%; }
    	#cats_section .avia-builder-el-last { border: none !important; margin-left: 3%; padding-right: 3%;  }
    
    }
    #316631

    Hey!

    Great! Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Bordered columns with equal widths’ is closed to new replies.