Title: Default image
Last modified: December 14, 2022

---

# Default image

 *  [ldeschenes](https://wordpress.org/support/users/ldeschenes/)
 * (@ldeschenes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/default-image-36/)
 * Hi,
 * Is there a setting (or snippet) to set a “default image” as feature image if 
   the user does not upload any image ?

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

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/default-image-36/#post-16291712)
 * Hi,
    if you are using blocks (recommended) then you can edit from the wp-admin/
   Pages panel the page with the Classifieds / List block ([https://wpadverts.com/doc/block-classifieds-list/](https://wpadverts.com/doc/block-classifieds-list/))
   and in the right sidebar, you should be able to find the “Default Image URL” 
   option where you can enter an URL to the image that should be used when the user
   did not upload any images.
 *  Thread Starter [ldeschenes](https://wordpress.org/support/users/ldeschenes/)
 * (@ldeschenes)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/default-image-36/#post-16292500)
 * Thanks [@gwin](https://wordpress.org/support/users/gwin/) for the quick answer.
 * I am still using the Classic interface… this is why I did not see it.
    Anyway
   to do same for Classic interfce ?
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/default-image-36/#post-16295558)
 * Hi,
 * the [adverts_list] shortcode does not have such option, but you can set the default
   image with CSS, to do that, go to the wp-admin / Appearance / Customize / Additional
   CSS panel and add there the code below
 *     ```wp-block-code
       .advert-item .advert-img {
           background-image: url(https://link/to/your/default/img.jpg);
           object-fit: contain !important;
           width: auto;
       }
       ```
   
 * of course replace [https://link/to/your/default/img.jpg](https://link/to/your/default/img.jpg)
   with the actual link to your default image.

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

The topic ‘Default image’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/default-image-36/#post-16295558)
 * Status: not resolved