Center 2 team members
Closed this issue · 5 comments
Hi there—love this theme, and pretty new to Jekyll, but can you give me any tips on how to center the two images when I only have two people in a team?
Changing the class to col-sm-6 works, but then the two columns appear kind of far apart. I'll keep tinkering in these column classes, perhaps.
Hey Craig,
If you want 2 columns and smaller space in between, try 'col-sm-4
col-sm-offset-2' for the first element and 'col-sm-4' for the second.
Rick
On Wed, Jun 24, 2015 at 9:53 AM, Craig Eley notifications@github.com
wrote:
Changing the class to col-sm-6 works, but then the two columns appear kind
of far apart. I'll keep tinkering in these column classes, perhaps.—
Reply to this email directly or view it on GitHub
#15 (comment)
.
Thanks, Rick. But since this is called within a "for" loop how would I adjust the two elements independently?
Yes, of course - you can just take it out of the loop. Replace the div
block on line 10 with something like this:
https://gist.github.com/y7kim/b383b36b843ac6e454b1
On Wed, Jun 24, 2015 at 7:52 PM, Craig Eley notifications@github.com
wrote:
Thanks, Rick. But since this is called within a "for" loop how would I
adjust the two elements independently?—
Reply to this email directly or view it on GitHub
#15 (comment)
.
Cool. Thanks, Rick!