-2

http://codepen.io/abdulahhamzic/pen/rLBoOj

I'm trying to get the paragraphs (the name and other info of the stream) to be vertically aligned in the middle of their div parents. I'm trying this CSS code and it is not working:

.col-sm-4{
  text-align: right;
  vertical-align: middle;
}    
Abdullah Hamzic
  • 439
  • 2
  • 7
  • 17
  • Use tables, problem solved – Midas Jun 04 '16 at 15:38
  • Questions seeking code help must include the shortest code necessary to reproduce it **in the question itself**. Although you have provided a [**link to a site or an example**](http://meta.stackoverflow.com/questions/254428/something-in-my-web-site-or-project-doesnt-work-can-i-just-paste-a-link-to-it), if the link were to become invalid, your question would be of no value to other future SO users with the same problem. – Paulie_D Jun 04 '16 at 16:30

1 Answers1

1

Will your icon always be 73px? If so you could use that to extend the height of your name/other info.

http://codepen.io/anon/pen/pbJVvG

.col-sm-4 p {
  line-height: 73px;
}
Xen
  • 164
  • 6