Anders Carlén Anders Carlén - 3 months ago 9
CSS Question

Why does this pricing field li stack on mobile?

I think I am going insane. I cannot figure out why this pricing field all of a sudden stacks below 641 px. Can anyone help me out?
I think I need a new set of eyes to look at the code!

http://forfattarskola.staging.wpengine.com/bildkort/bestall-bildkort/

Good
enter image description here

Bad
enter image description here

Answer

Without the code to look at and just the page source it looks like you need to change this css class to use inline-block and not block

@media only screen and (max-width: 641px) .gform_wrapper .ginput_container span {
    display: inline-block;
}
Comments