• Resolved pugman76

    (@pugman76)


    I am trying to figure out how to adjust the size of the MH Custom Post Widget image sizes. Does it pull the image from the featured image, or from the post itself? Either way, the image it’s pulling is not the same size as either of them. On some posts, it is just too large and makes the website look bad.

    Take a look here to get an idea of what I am referring to:
    https://www.bodyrat.com/
    On the left side, under “Latest Articles”, you will see a very large Syntha-6 protein image. Is there a way to set the size of the images in the widget?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • hai pugam..
    try this one on ypur css..

    .mh-custom-posts-thumb-xl img {
    max-width: 60%;
    margin: 0 auto;
    display: block;
    }

    By changing img max-width then image size will reduce…

    Hi pugman76,

    thanks for using MH Magazine.

    In general you should regenerate your thumbnails. In addition the Syntha-6 protein image is too small and that’s why it is being scaled up by the browser. You could upload a larger image because the thumbnail size for that image is 326 x 245px and the uploaded image currently only has a size of 201 x 300px.

    Or you could disable the scaling of the image with a line of CSS:

    .mh-custom-posts-thumb-xl img { width: auto; }

    The CSS code can be added in your WordPress dashboard under Appearance => Customize => Theme Options => Custom CSS.

    You can learn more about the image sizes in the theme documentation.

    It seems you’re using the premium theme and commercial themes are not supported in the forums on www.ads-software.com. If you have a question regarding your theme or need additional assistance, please send a support request through your MH Themes account and our support staff will be more than happy to assist. In case you have forgotten how to access your MH Themes account, please contact us.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MH Custom Post Widget Image Size’ is closed to new replies.