Need help figuring out cause for "row" alignment issue - SOLVED

Hi Everyone,

New to coding and freecodecamp.com. I’m trying to work through an issue I’m having with some code that involves “row” alignment.

My goal is to have:
img … title … img

But what I’m getting is:
img
title…img

My codepen pagehttps://codepen.io/MauMau4/pen/ezJrJQ for reference.
The code in question is lines 12-23.

Any suggestions on where I made the error would be greatly appreciated.

Thank you,
MauMau4

The “col-xs-n” have to add up to 12.

8+2.5+2.5 = 13.

Change the "2.5"s to "2"s. I just tried that, and it lined up like you want.

1 Like

Thanks babarastl!! That did it. Missed that “col-xs-n” has to add up to 12. :slight_smile:

1 Like

Awesome! This was the first time I was able to help anyone here! lol

1 Like