Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    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.


    Cheers

    • This reply was modified 7 years, 1 month ago by ujnimz.
    Thread Starter opopop

    (@opopop)

    Thanks for reply my images sizes

    are 564 × 423

    of this title

    Indonesian goalkeeper choirul huda has died after colliding with his teammate during a match between lamongan football club and semen padang aged 38

    759 × 422

    of this title

    Pakistan beat Sri Lanka by 32 run in 2nd ODI

    800 × 320 this is the top one and title and news both are missing

    but thanks i will try your above css coding

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘why page title looks bad’ is closed to new replies.