Title: Bottom alignment
Last modified: September 1, 2016

---

# Bottom alignment

 *  Resolved [joacimart](https://wordpress.org/support/users/joacimart/)
 * (@joacimart)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/bottom-alignment/)
 * Right now, all my portfolio posts are top aligned at each row. I looks a little
   bit wierd, when the images are different in height. I wonder if there is a way
   to have the posts on each row bottom aligned?
 * [http://www.joacimart.com](http://www.joacimart.com)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/bottom-alignment/#post-7633626)
 * Hi there,
 * You could align your portfolio posts to the bottom with some custom CSS.
 * To add CSS, firstly [set up a child theme](https://codex.wordpress.org/Child_Themes)
   or [activate a custom CSS plugin](https://wordpress.org/plugins/search.php?q=custom+css).
   As you have Jetpack installed, you can make use of [its custom CSS module](https://jetpack.com/support/custom-css/).
 * Enter the following snippet in either the editor for your CSS plugin or the **
   style.css** file of your child theme:
 *     ```
       @media screen and (min-width: 767px) {
           .site-main .jetpack-portfolio-shortcode .portfolio-entry {
               position: relative;
               height: 390px;
           }
   
           header.portfolio-entry-header {
               position: absolute;
               bottom: 0;
           }
       }
   
       @media screen and (min-width: 960px) {
           .site-main .jetpack-portfolio-shortcode .portfolio-entry {
               height: 460px;
           }
       }
       ```
   
 * Let me know how you get on with that or if extra questions come up. 🙂
 *  Thread Starter [joacimart](https://wordpress.org/support/users/joacimart/)
 * (@joacimart)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/bottom-alignment/#post-7633672)
 * Hi Siobhan!
 * Brilliant! The snippet solved my problem! Thank you so much! 🙂
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/bottom-alignment/#post-7633685)
 * I’m glad to hear that! Feel free to start another thread on this forum if extra
   questions come up, too.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bottom alignment’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/illustratr/1.3.3/screenshot.png)
 * Illustratr
 * [Support Threads](https://wordpress.org/support/theme/illustratr/)
 * [Active Topics](https://wordpress.org/support/theme/illustratr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/illustratr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/illustratr/reviews/)

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [bottom](https://wordpress.org/support/topic-tag/bottom/)

 * 3 replies
 * 2 participants
 * Last reply from: [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/bottom-alignment/#post-7633685)
 * Status: resolved