Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: why page title looks bad

Discussion in 'Misc WordPress Requests' started by ujnimz, Oct 19, 2017.

  1. ujnimz


    Reply To: why page title looks bad, by ujnimz


    I think your image width should be small (less than 300px) to have more space to the title. First, check if you can do this with your theme settings.

    Otherwise, add below code to your child theme or custom CSS sheet.

    .post-thumb img {
    max-width: 300px; /*This will make the maxmimum width of your image to 300px and more space for your title*/
    @media screen and (max-width: 768px){
    .recent-posts .post-thumb {
    max-width: 100%; /*This will show the image and text as vertical blocks*/
    float: none;
    .post-thumb img {
    max-width: 100%; /*In mobiles image width is full*/

    NOTE: Make sure to upload images bigger than 300px or equal to 300px widths.


    Reply To: why page title looks bad

Share This Page

Monarch Social Sharing Plugin