Thumb nail home page photos

  • Posted in : Read WP
  • mindedmind
    Participant

    For every text post I insert a photo post. I’d like these pictures to show up half the size they are when they are viewed in the actual post page. When viewing the homepage the pictures are too big.

    Thank you.

    Mehmet S.
    Keymaster

    Hi, use this in your custom css field:

    .featured-image img
    {
    max-height: 50%;
    width: auto;
    }
    

    Thanks

    Mehmet S.
    Keymaster

    Edited:

    body.blog .featured-image img
    {
    max-height: 50%;
    width: auto;
    }
    
    mindedmind
    Participant

    Great!

    You’re full of solutions, Mehmet.

    The images are now half the size but I’ve got an unforeseen issue. The text has remained the same size. The text now extends 25% more than the photo on either side on the home page. I’d like to have it look symmetrical.

    I’d like to have the excerpt text in a block to the right of the photo. Is this possible?

    Thus, the photo and the text will be centred in the middle column ( I’m using one column) together, the picture on the left and the block of text (excerpt) on the right.

    Yes, I know I’m very particular. Perhaps I’m even demanding… But I really appreciate it!

    Thanks,

    David

    Mehmet S.
    Keymaster

    Custom css:

    body.blog .featured-image
    {
    float: left;
    padding-right: 30px;
    }
    
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register