Bootstrap 4 Alignment issues

Bootstrap 4 Alignment issues
0.0 0

#1

Hello everybody!

In my wiki-viewer I’d like to put in the middle of the page some div. I tried here:

but they won’t go in the middle… to be honest in my code example I copied exactly what’s explained here: https://getbootstrap.com/docs/4.0/layout/grid/#alignment

but it doens’t work.
Can someone explain me why?

Thanks!


#2

Oh, but it is working.

Add this to your css to see what’s going on.

.row {
  height: 200px;
  border: 2px dashed green;
  margin-top: 10px;
}

#3

Thank you!
I got it! :smiley:

I’m trying to have two rounded-elements (div) in the middle of the visible page but this seems tricky to me.
Anyway, thank to you now I have part of what I’d like :slight_smile: