• if you see my site https://www.tripoclan.com. It’s a multisite and I’m showing a child site content to the main site using a plugin “network posts extended”.

    I bit of UI related help is needed. If you scroll down you can see a few cities name are showing with appropriate images on top of it. I want to make the former thumbnails as the latter.

    Can it be done using CSS level changes?

    I tried to make the changes in network-posts-extended.php file but no luck. ??

    I raised this question to the plugin support forum as well, but couldn’t find any appropriate solution of it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi raizaduran.

    I want to make the former thumbnails as the latter.

    Do you mean you want to put the city name on top of the image?

    Thread Starter raizaduran

    (@raizaduran)

    No bdbrown

    I want the thumbnail images of blog content look as the city thumbnail images, the bigger ones I mean.

    The current blog thumbnails (on home page) look so weird unlike the city images which are bigger and more clear.

    You could force it by using this CSS:

    .netsposts-content img {
        width: 100%;
        max-height: 150px;
    }

    But then you’re stretching a smaller thumbnail so it may lose some of its quality. Other than that I think you’d need to figure out why the plugin is using the 150×150 thumbnail size.

    Thread Starter raizaduran

    (@raizaduran)

    There is a file ‘network-posts-extended.php’ where I can see the configuration

    where it says

    extract(shortcode_atts(array(
    'size' => 'thumbnail',
    		'image_class' => 'post-thumbnail',

    previously it was more horrible so I changed it to this:

    'size' => 'thumb-medium',
    		'image_class' => 'attachment-thumb-medium',

    and then there is a code

    function get_image_sizes() {
    	global $_wp_additional_image_sizes;
    
    	$sizes = array();
    
    	foreach ( get_intermediate_image_sizes() as $_size ) {
    		if ( in_array( $_size, array('thumbnail', 'medium', 'medium_large', 'large') ) ) {

    I used these sizes to the above section, but did nothing.

    What you think? what can be done at this point?

    If the plugin isn’t generating its own image thumbnails then the only two sizes it will find in that array are ‘thumbnail’, which is the default WP size 150×150, and ‘medium’ which is the default WP size 300×300. Somehow it appears to be using the first one it finds which is 150×150.

    I raised this question to the plugin support forum as well, but couldn’t find any appropriate solution of it

    Since you’re trying to modify the plugin code that’s really the only place I can suggest for you to request help. When I checked your post there it seems like the plugin author was responsive to your request and is working on an update.

    Thread Starter raizaduran

    (@raizaduran)

    I guess then the best solution for the moment is to wait for the update by the plugin author ??

    I thought if can find a crack using css level changes ??

    Thank you bdbrown

    You’re welcome; hope the plugin author is able to help solve your issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘css changes required’ is closed to new replies.