Feature image in posts in Desktop mode

  • Author
    Posts
  • #117605

    dizzymslizzy
    Member
    Original poster

    Hi,
    I’m having trouble with the featured imgs on posts in the Desktop mode. No matter what size I make the image, the feature image expands and hangs over the text. I messed around with the CSS and was able to change the size, but I got lost in trying to figure out how to center it. Here is what I added to change the size:

    feature img {
    	width: 50px;
    }

    Here is a snapshot of a recent post

    https://drive.google.com/file/d/0B5y1Ab9S9rrndTFmVFZ4dHVWcDA/view?usp=sharing

    The blog I need help with is: earsontheodyssey.com

    #117741

    scottrrollo
    Theme Author

    Hey there, Lizzie 👋

    That’s actually by design. But if you’d like to align those featured images, try adding this code snippet:

    .feature img {
      width: 100%;
      max-width: 492px;
      float: none;
      text-align: center;
      margin: 0 auto;
    }

    Let us know how that works for you!

The topic ‘Feature image in posts in Desktop mode’ is closed to new replies.