For those who don’t like the alignment of magazine boxes by Masonry script in SWIFT v5.70 and above.

As some of you didn’t like the alignment of the mag boxes by masonry script in the latest version of SWIFT, here is a fix for you.

Adjust the thumbnail sizes by modifying the following code in fucntions.php and regenerate thumbnails.

[php]
add_image_size(‘mag1’,167, 100,true );
add_image_size(‘mag2’,281,140 ,true );
[/php]

Play with the height values only, (100 and 140).

and add the following css code to custom CSS

[css].mag-content{height:280px;overflow:hidden}[/css]

Now regenerate the thumbnail using the ajax thumbnail rebuild plugin.

11 Replies to “For those who don’t like the alignment of magazine boxes by Masonry script in SWIFT v5.70 and above.”

  1. hi
    I really appreciate your work,and the theme is great.
    But this theme coding is a bit tough i guess,usually i remove some phpcodes from my theme which i dont like like categories in nav etc.
    in this theme all the coding is different.i dont see any of those codes which we have in other themes
    anyway i just want to completely remove that image(featured or what ever),not resizing.please tell me how to…

  2. I have installed swift 5.28 in word press 3.0.2.
    I tried for 2 days to delete the thumbnails in posting but no use i am frustrated,
    theme is not responding if i delete “the require_once (INCLUDES . ‘/thumb.php’); // Add’s thumbnails to the post and fetches them when called for ” Now i am thinking to leave this theme

    Pl last chance to try pl Satish help me.

    I am frustrated.

Leave a Reply

Your email address will not be published. Required fields are marked *