On my site – http://balrajt8.sg-host.com/ – I have a section below the slider area with 3 sets of animated numbers. On desktop they look great but on mobile, I would like the numbers and text NOT to stack, instead they should sit side by side
Screenshot of how it should look – https://ibb.co/hRzc7FP
I went ahead and added this code below
@media only screen and (max-width: 769px) {
.avia-animated-number {
display: flex;
}
}
But it is not quite correct as the numbers and the text are too close to each other and not aligning properly.
Hi navindesigns,
Thanks for giving us a screenshot and admin access.
I have added an ID attribute “stats” on your codeblock, then replace your CSS (code above) with:
@media only screen and (max-width: 767px) {
#stats .av_one_third {
border-top: 2px solid #000;
margin: 0 !important;
padding: 10px 0;
width: 100%;
}
#stats .av_one_third.first {
border: none;
}
.avia-animated-number {
display: flex;
align-items: center;
text-align: left;
}
.avia-animated-number .heading.avia-animated-number-title {
width: 150px;
}
}
Please review your site.
Best regards,
Nikko
This looks GREAT
I tried to add the divider lines on mobile but they are not in the center and they are uneven. is there a way to fix that?
screenshot – https://ibb.co/N3LmM9h
site – http://balrajt8.sg-host.com/
Hi,
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
#stats div .av_one_third {
margin-left: 0;
width: 33.333%;
}
Best regards,
Yigit
Looks great
Thanks as always