Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline hellothere
Free Member
Posts: 2
Posted on: April 17, 2016, 11:32:47 AM

Hello

I have installed Fitness Center theme for wordpress and I'd like to know how can i delete feature image from single post (not in category view)

For example i need to delete it from here: http://test.foundationft.com/andrea-from-gbfm-update-3/

Thanks
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: April 18, 2016, 09:06:22 AM

That is not currently an option in the framework.  However, I believe I have a reasonably easy way for you to do it (it will be a global change though, not something that can be set per-post).


You will need to edit 2 files (they're both release specific, so the changes will stay, even if you install the Vertex Upgrade Patch  sometime in the future).

First, open {themedir}/theme-globals.php and make the following changes:
On line 95, change:
Code:
$s5_loop_tags['thumbnail'] = '<img alt="%post_title%" style="position:relative;float:left;padding-right:10px;" src="%thumb_path%" />';

To:

Code:
$s5_loop_tags['thumbnail'] = '<img alt="%post_title%" style="position:relative;float:left;padding-right:10px;" class="post-thumbnail" src="%thumb_path%" />';

Then, open {themedir}/style.css and add this to the bottom:

Code:
.item-page img.post-thumbnail{display:none !important;}



Those changes will make the Featured Image (Post Thumbnail) be hidden on any "single" view for a post or page. 



[Note: I am moving this topic to the correct board; please remember in the future to post theme/plugin specific questions to the board created specifically for the theme/plugin you are asking about.]
Logged

Offline hellothere
Free Member
Posts: 2
Posted on: April 18, 2016, 11:06:58 AM

Solved. Thanks
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.018 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.