Center text within an image in div

2

I have a little problem on this blog that I work on, link

The grids of posts just below the logo are working everything OK, however, as you can see the text (title of the post) when the mouse is above is not in the middle correctly, for example, breaking the line to prevent it from adding up the text. I have this blog for example that works the way I would link tried some codes in CSS but without success. Does anyone know of any method that will work this way?

    
asked by anonymous 06.09.2015 / 04:19

1 answer

1

Add this and see if it works:

.caption, .caption-text{
   width: 100% !important;
}
    
06.09.2015 / 17:11