WordPress.org

Forums

Magazino
[resolved] Fit the size of the image display on homepage thumbs (1 post)

  1. blackburst
    Member
    Posted 1 year ago #

    Hi everybody

    I found this afternoon a solution to fit the original featured image to the size of the homepage thumbnail.

    In your CSS add line 1181 .post-box-img img
    add the scale option like this for exemple :
    -moz-transform: translate(-50%, -50%) scale(0.35);
    -webkit transform: translate(-50%, -50%) scale(0.35);
    -ms-transform: translate(-50%, -50%) scale(0.35);
    -o-transform: translate(-50%, -50%) scale(0.35);
    transform: translate(-50%, -50%) scale(0.35);

    Try different ratio too reduce your original image like you want.

    I hope it will be usefull.

    I'm looking for the way to reduce the number of the display thumbnails on the homepage. If you have an idea ?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.