Hi guys
My website is http://mycybergenie.com/
Right below the top section, you will see two items, text to the left, and an image to the right. These are two 1/2 Layout Elements inside a color section.
Currently they do not center when viewing on different browser resolutions (responsive). Is there any way we can insert a code to make them center vertically and horizontally automatically when viewed on various browser resolutions?
Hi hackoffseries,
I’m not sure what you mean by that, it looks centered on my end on all resolutions. Could you post another screenshot highlighting the problem on smaller screens please?
Thanks,
Rikard
Hi Rikard
Thanks for the response. What I meant was to center them both horizontally and vertically. At the moment they are only centered horizontally but no centering vertically.
Here are two more screenshots to demonstrate what I mean.
Noticed how both elements all move to the top instead of in the middle (vertical alignment)? Is there any way we can modify this so they are “center center”?
Hey!
try this code inside of Quick CSS field:
.flex_column.av_one_half.flex_column_div.av-zero-column-padding.avia-builder-el-8.el_after_av_one_half.el_before_av_hr {
margin-top. 35%;
}
and adjust as needed.
Cheers!
Andy
Thanks Andy will try now
Hi Andy
Unfortunately it does seem to do the trick. The items still stick to the top (I don’t see any top padding). Can you help? I’ve provided some log in details for you. Thanks!
Hi!
Please replace Andys code with
.flex_column.av_one_half.flex_column_div.av-zero-column-padding.avia-builder-el-8.el_after_av_one_half.el_before_av_hr {
margin-top: 35%;
}
he have had a small typo
Best regards,
Basilis
Thanks Basilis, Andy and Rikard! Kindly close this support ticket now.