You can remove image tag from your theme index.php file or add below code in your theme css file
.attachment-full.wp-post-image {
display: none;
}
thanks Rushin
but I couldn’t find proper tag in index.php
and adding the code to my css does nothing but making my theme fonts not to display correctly!
try to add below code in your theme style.css file at last
.wp-post-image {
display: none;
}
it’s 100% work
css code doesn’t load in page also this class only effect on image so not possible to effect on ur fonts
pls try again both code hide your image
here is y theme .css
/*
Theme Name: Simplicity | سادگی
Theme URI: http://terapico.ir/demo/simplicity
Description: چهارسوق | نشر ایدههای تعلیم و تربیت
Tags: چهارسوق, ایده, آموزش, تربیت, مدرسه, معلم
Author: موسسه مطالعات راهبردی تعلیم و تربیت برهان
Author URI: http://www.borhanedu.ir
Version: 1.1.1 | فارسی سازی ورژن 1
License: GNU General Public License
License URI: licence/GPL.txt
*/
/*
Define Persian Fonts
*/
@import url(“css/TP-Fonts.css”)
.wp-post-image {
display: none;
}
I think your child theme css dose’nt effect no site install below plugin after active it in Appearance menu > Custom CSS > add this code
https://ww.wp.xz.cn/plugins/simple-custom-css/
also remove code from your theme css file
thanks!
i installed the plugin and removed the code from theme css.
what to do next?
Appearance > Custom CSS > add below code
.wp-post-image {
display: none !important;
}
if above code not work then remove it and add below code
.attachment-full.wp-post-image {
display: none;
}
it’s very strange!!
for a short time custom css text box is editable and then there is just ‘1’ character and it’s non-editable!!!