| | #1 |
| SEO Wannabe Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
|
Hi all, Calling All Developers --- Please help I am using this free theme Attachement: ![]() Theme Preview: acmethemes.com/demo/?theme=supermag The thing is, I am using this theme for a 'news syndication' site, and I don't need images in the posts. The problem is, even though when there are no images used in a post, this theme adds a placeholder image "by default" for every post in the right sidebar. So basically all I want is to get rid of this default image appearing in every post in the sidebar. I contacted the theme support and they suggested me that the option can be removed by using a WP child theme. The tragedy is, I am not good with development or CSS but can play with the code (copy/paste). Please guide. |
| |
| | #2 |
| Active Warrior Join Date: 2016
Posts: 36
Thanks: 3
Thanked 5 Times in 5 Posts
|
Open single.php or post.php by notepad and remove default Post image div
|
| | |
| |
| | #3 | |
| SEO Wannabe Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
|
I have already checked the files in WP Editor for the DIVs in which the image is coming (it's coming through a widget I think), but there were no DIVs showing the code that is bringing the image. It would've been easy for me if the code was visible, but I think that code is hidden or something, hehehe. What to do now please? | |
| |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Nebraska, USA
Posts: 313
Thanks: 70
Thanked 244 Times in 102 Posts
|
Simplest solution, you can simply add some custom CSS to the site's <head> to hide the images. Install the WordPress plugin 'Simple Custom CSS' - https://wordpress.org/plugins/simple-custom-css/ Then, insert this CSS code... Code: .secondary-sidebar aside figure.widget-image {
display: none;
} -Noah |
| No Pitch For The Moment - Just A Nice Hello. So... 'Hello' Feel free to PM me if you have any questions about my posts. I'd like to hear from you! | |
| |
| The Following User Says Thank You to noah.whitmore For This Useful Post: |
| | #5 | |
| SEO Wannabe Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
|
Thanks mate. I'll do that. The plugin you mentioned, it is for adding CSS code right? The theme I mentioned already has an option where I can add CSS code, so I assume I don't need this plugin to add the code and can add it in the theme CSS option, right? Thanks again. | |
| |
| | #6 | |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Nebraska, USA
Posts: 313
Thanks: 70
Thanked 244 Times in 102 Posts
|
Well, I have not looked at the admin area of this theme, so I can't be sure completely. But, based on what you've said here - yes, it sounds like you can simply put this CSS code into the theme option. I always suggest that plugin when I suggest inserting CSS code because it's such a simple little plugin. But, if you already have the ability to insert CSS from your theme, there's no reason to use the plugin. Let me know if it works for you! - Noah | |
| No Pitch For The Moment - Just A Nice Hello. So... 'Hello' Feel free to PM me if you have any questions about my posts. I'd like to hear from you! | ||
| |
| The Following User Says Thank You to noah.whitmore For This Useful Post: |
| | #7 | |
| SEO Wannabe Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
|
| |
| |
| | #8 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Nebraska, USA
Posts: 313
Thanks: 70
Thanked 244 Times in 102 Posts
| |
| No Pitch For The Moment - Just A Nice Hello. So... 'Hello' Feel free to PM me if you have any questions about my posts. I'd like to hear from you! | |
| |
|
| Bookmarks |
| Tags |
| default, image, post, remove, sidebar |
| |