Title: css changes required
Last modified: September 13, 2016

---

# css changes required

 *  [raizaduran](https://wordpress.org/support/users/raizaduran/)
 * (@raizaduran)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/)
 * if you see my site [http://www.tripoclan.com](http://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)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8179154)
 * 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](https://wordpress.org/support/users/raizaduran/)
 * (@raizaduran)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8179177)
 * 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.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8179277)
 * 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](https://wordpress.org/support/users/raizaduran/)
 * (@raizaduran)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8191273)
 * 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?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8191407)
 * 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](https://wordpress.org/support/users/raizaduran/)
 * (@raizaduran)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8192574)
 * 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
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8193716)
 * 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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/css-changes-required/#post-8193716)
 * Status: not resolved