Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 27th Mar 2016, 11:28 PM   #1
SEO Wannabe
 
Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
Default
How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

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.
ahsonwp is offline  
Unread 28th Mar 2016, 12:48 AM   #2
Active Warrior
 
Duc Aaron's Avatar
 
Join Date: 2016
Posts: 36
Thanks: 3
Thanked 5 Times in 5 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

Open single.php or post.php by notepad and remove default Post image div

Duc Aaron is offline  
Unread 28th Mar 2016, 12:54 AM   #3
SEO Wannabe
 
Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

Originally Posted by Duc Aaron View Post

Open single.php or post.php by notepad and remove default Post image div
Thanks for your response.

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?
ahsonwp is offline  
Unread 28th Mar 2016, 02:03 PM   #4
HyperActive Warrior
War Room Member
 
noah.whitmore's Avatar
 
Join Date: 2009
Location: Nebraska, USA
Posts: 313
Thanks: 70
Thanked 244 Times in 102 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

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;
}
That should take care of it.

-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!
noah.whitmore is offline  
The Following User Says Thank You to noah.whitmore For This Useful Post:
Unread 28th Mar 2016, 11:23 PM   #5
SEO Wannabe
 
Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

Originally Posted by noah.whitmore View Post

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;
}
That should take care of it.

-Noah


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.
ahsonwp is offline  
Unread 29th Mar 2016, 06:05 AM   #6
HyperActive Warrior
War Room Member
 
noah.whitmore's Avatar
 
Join Date: 2009
Location: Nebraska, USA
Posts: 313
Thanks: 70
Thanked 244 Times in 102 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

Originally Posted by ahsonwp View Post

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.

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!
noah.whitmore is offline  
The Following User Says Thank You to noah.whitmore For This Useful Post:
Unread 29th Mar 2016, 10:40 PM   #7
SEO Wannabe
 
Join Date: 2016
Posts: 20
Thanks: 8
Thanked 0 Times in 0 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

Originally Posted by noah.whitmore View Post

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
It worked like a charm mate. Many many thanks.
ahsonwp is offline  
Unread 29th Mar 2016, 10:50 PM   #8
HyperActive Warrior
War Room Member
 
noah.whitmore's Avatar
 
Join Date: 2009
Location: Nebraska, USA
Posts: 313
Thanks: 70
Thanked 244 Times in 102 Posts
Default
Re: How to remove default Post image on WP sidebar
Share on: 
fb share twitter share gplus share more share

Originally Posted by ahsonwp View Post

It worked like a charm mate. Many many thanks.
Glad to hear that. Happy to work out the issue with you. Best of luck with the site!

-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!
noah.whitmore is offline  
Closed Thread


Bookmarks

Tags
default, image, post, remove, sidebar


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:41 AM.