Placeholder image appearing on my website’s homepage
-
There is a weird placeholder image appearing on my website’s homepage. Could anyone tell me how to get rid of it? Here is my site: http://clay-law.com
The blog I need help with is: (visible only to logged in users)
-
It seems that the block has a default placeholder image set up by the theme side. This is why, if you use the bb block anywhere on your website and don’t update the image, the placeholder image is automatically displayed.

However, updating the image from the block image settings should fix the issue.
In case you don’t want to use any images, you can use the following JS code to remove these placeholder images. You can also utilize a code snippet plugin to add the code.
jQuery(document).ready(function($) { // Select all bt_bb_image divs $('.bt_bb_image img').each(function() { // Check if the title attribute is "Placeholder image" if ($(this).attr('title') === 'Placeholder image') { // Remove the parent div of the image $(this).closest('.bt_bb_image').remove(); } }); });Hope that helps.
- The topic ‘Placeholder image appearing on my website’s homepage’ is closed to new replies.