Aligning objects (using flex-box)SOLVE
Oct 19, 2020 8:52 AM
I'm trying to vertically align an image and a text-box, and I stumbled upon this post suggesting using flex-box:
However, I can't get it to work? Am I putting the codes in the wrong places as nothing has changed? I first put the codes directly into the modules' inline styling in design tools, after which I gave them classes (.kuva-boxi (the wrapper) / .kuva-boxi-kuva (the pic) / .kuva-boxi-teksti (the text)) and added the codes into the main css.
It's the 'KEINO-SOVELLUKSEN EDUT' row if you want to inspect 🙂
Solved! Go to Solution.
Oct 20, 2020 9:56 PM
Yep, it's just the styling being in the wrong place. @tette_engage I would remove the .kuva-boxi-kuva and .kuva-boxi-teksti wrappers so that the hubspot widget-spans are whats getting aligned. Then move your flex css into .kuva-boxi > .row-fluid-wrapper > .row-fluid.