Title: Image alignment
Last modified: November 21, 2017

---

# Image alignment

 *  Resolved [herofarm](https://wordpress.org/support/users/herofarm/)
 * (@herofarm)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-40/)
 * Toward the bottom of the site, I’d like to the images for Recent News and Blog
   to left align completely so they are both directly underneath the title like 
   Upcoming Events is. Is there a way to do this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-alignment-40%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-40/#post-9720642)
 * Hello,
 * there is a CSS selector comes from your used Theme.
 * You can override it with this CSS code:
 *     ```
       .cat-post-widget ul {
           margin-left: 0;
       }
       ```
   
 * If you use WordPress 4.8 or higher you can add the CSS code with the customizer:
   [http://kometschuh.de/easily-adding-custom-css-using-the-wordpress-theme-customizer.html](http://kometschuh.de/easily-adding-custom-css-using-the-wordpress-theme-customizer.html)
 * The second kind is to delete the CSS code in your Themes style-core.css file
   
   We recommend to do this with a Child Theme. Delete in this file: /wp-content/
   themes/infinite/css/style-core.css at line 52: `ul, ol{margin-left: 35px;}` the
   margin-left: 35px.
 *  Thread Starter [herofarm](https://wordpress.org/support/users/herofarm/)
 * (@herofarm)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-40/#post-9727516)
 * Awesome! That was perfect!
 * The only issue now is that on mobile the featured image is offset, seemingly 
   with the image pulling to the right. Is there a quick fix for this or do you 
   have a recommendation for optimizing featured images with this plugin?
 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-40/#post-9731362)
 * Interesting. We give you two kinds you can try. We prefer the first, because 
   we will disable the option in further version and have the cropping as default
   also in this free version.
 * 1.)
    Do you use this option in the Thumbnail panel “CSS crop to requested size”(
   [http://tiptoppress.com/category-posts-widget/documentation-4-7/#Thumbnails](http://tiptoppress.com/category-posts-widget/documentation-4-7/#Thumbnails))
 * We write some blog post about this feature [http://tiptoppress.com/client-side-cropped-adaptive-and-also-fluid-images-for-responsive-layouts/](http://tiptoppress.com/client-side-cropped-adaptive-and-also-fluid-images-for-responsive-layouts/)
   (
   CPW since 4.1.6, April 13th 2016, as option and TACBPW since 1.0.1, as default)
 * 2.)
    Or there is a second solution. You can override it with this CSS code:
 *     ```
       .cat-post-item img {
           max-width: 100% !important;
       }
       ```
   
 * If you use WordPress 4.8 or higher you can add the CSS code with the customizer:
   [http://kometschuh.de/easily-adding-custom-css-using-the-wordpress-theme-customizer.html](http://kometschuh.de/easily-adding-custom-css-using-the-wordpress-theme-customizer.html)
 *  Thread Starter [herofarm](https://wordpress.org/support/users/herofarm/)
 * (@herofarm)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-40/#post-9734764)
 * Thank you, Daniel! I used option 2 and it worked perfectly. I was no longer using
   the CSS Crop to requested size” option after trying it out originally.
 * I really, truly appreciate the help. I was wracking my brain trying to figure
   it out. Great work!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Image alignment’ is closed to new replies.

 * ![](https://ps.w.org/category-posts/assets/icon-256x256.png?rev=1419008)
 * [Category Posts Widget](https://wordpress.org/plugins/category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-posts/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [herofarm](https://wordpress.org/support/users/herofarm/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-40/#post-9734764)
 * Status: resolved