0
Good afternoon, you guys. I don’t know what’s going on with Bootstrap in a project that I’m doing that it doesn’t put the columns side by side. I tried to change the size, I tried to remove the Rows and it doesn’t work. These cols are generated inside an ngFor, and even if I take them out, they don’t stand side by side at all. Does anyone have any idea what’s going on?
container.component.html
<div class="container">
<app-logo></app-logo>
<div class="row">
<div class="col-md-12">
<router-outlet></router-outlet>
</div>
</div>
</div>
catalogo.component.html
<div class="row" *ngFor="let item of produto">
<div class="col-6 col-sm-6 col-md-6 col-xl-6">
<p>{{item.name}}</p>
<!-- <p>{{item.images[0].url}}</p> -->
</div>
</div>
That’s what it was. I had done it, only I was putting the loop after the classes. Thanks man, thanks even
– Daniel Swater
For nothing. Success ;)
– Ricardo Ferreira