Hi,
The content in my columns aligns to top, and are not middle aligning horizontally when the mobile break stacks my columns? Is this due to wrong setting or? I need my text and graphic content to always be middle positioned in the columns, also on mobile, so it does not stick to the top in a column with a background image. Can you help me with this issue?
Hi frb1,
Please try to add this CSS code in Enfold > General Styling > Quick CSS:
@media only screen and (max-width:767px) {
.responsive #top .flex_column_table_cell {
display: flex;
flex-direction: column;
justify-content: center;
}
}
Hope it helps.
Best regards,
Nikko
Hi Nikko,
Thanks a lot Nikko, that worked. Except now all content in columns below 767px are middle aligned, right? I guess have have to work with that in the design.
Best,
Frederik
Hi Frederik,
Yes, you are correct, however if you want to limit it to certain areas, you can add/put center-box to Custom CSS Class in the Color Section (all color sections that needs the columns inside it to be centered) located in Advanced > Developer Settings.
Then replace the code I gave you to:
@media only screen and (max-width:767px) {
.responsive #top .center-box .flex_column_table_cell {
display: flex;
flex-direction: column;
justify-content: center;
}
}
Best regards,
Nikko
Thanks Nikko,
I’ll consider that! :)
Best,
Frederik
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi Rikard,
Thnks! You can go ahead and close it.