Tagged: alignment, color section, column, CSS, stylesheet
I’m trying to modify the layout of two columns within a color section. The two pieces of css I’m using are from the Enfold doc on columns. I’ve given the color block the section id of “home-color-section” for all pieces of code. For some reason, the container width is working but the center align is not. These are the pieces of code I’ve inserted into the stylesheet:
/* Color section container width */
#home-color-section .container {
width: 80% !important;
min-width: 80%;
padding: 0;
margin: 0;
}
/* Center align columns inside color section*/
#home-color-section .entry-content-wrapper {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: center;
}
Any help on how to fix this would be appreciated – I’m on a deadline!!
Hey alyssajeffers,
We can’t access the page you linked to unless logged in, please provide details in private.
Best regards,
Rikard
Thanks, Rikard. It’s for the draft page Home 2020, and I added this code to the Enfold Child style sheet.