P
P
Pan Propan2018-04-06 15:29:22
css
Pan Propan, 2018-04-06 15:29:22

Why doesn't center image alignment work on mobile. devices?

Hello. Not strong in layout.
On the main page of the site there is a section under the slider.
5ac767c9b1f52241965289.png
I can't figure out why this section doesn't have image center alignment on mobile devices?
5ac768f848579746161889.jpeg
What is strange, if you turn on the mobile mode in firefox ctrl_shft + m, then everything works fine.
Cleaned cache. Site on gomnobitrix.
All the best, I'm dough)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lone Ice, 2018-04-06
@daemonhk

.icon-box-3{
    text-align:center;
}
.icon-box-3 img{
    display:inline-block;
}

C
Cyril, 2018-04-06
@cyril_b

display: block;
margin: 0 auto;

for image

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question