Community Forums › Forums › Archived Forums › Design Tips and Tricks › A Couple More Issues with Smart Passive Income Theme
- This topic has 10 replies, 5 voices, and was last updated 6 years, 11 months ago by
joeroberson.
-
AuthorPosts
-
August 13, 2016 at 3:11 pm #191240
rosstcorbett
MemberHi everybody,
I am setting up the new Smart Passive Income Theme and are having some issues and I was wondering if you can help me?
1. How can I stop having the featured image appearing in my posts? Example - http://ww2nation.com/abandoned-ww2-raf-base-more/
2. In the Header Right widget, the button appears under the text rather than inline with it as per the demo. I have copied the demo code so I don't know why it is appearing like this.
I would be most grateful for your help as I'm rather useless at all of this 🙂
Thank you very much indeed.
Ross
http://ww2nation.comAugust 13, 2016 at 10:28 pm #191249Christoph
MemberHi Ross,
1)
Check the theme setup instructions:
http://my.studiopress.com/setup/smart-passive-income-pro-theme/customize-your-settings/post-and-page-images/If unchecking the box does not work, delete in functions.php from //* Add featured image to posts/pages in functions.php
to just above //* Customize the search form placeholder text
(Line 140 to 157)2)
I think the theme setup instructions are incorrect.
I opened a support ticket with Studiopress.The demo uses this code in the content area of the text widget.
<span class="tagline"><strong>ARE YOU LOOKING TO BOOST YOUR BUSINESS?</strong></span><a href="http://my.studiopress.com/themes/smart-passive-income/" class="button small">Buy This Theme</a>
Using the title area will result in two separate lines/paragraphs.
Try this code in the content area of the text widget:
<span class="tagline"><strong>Help Us Keep WW2 History Alive</strong></span><a href="http://ww2nation.com/" class="button small">Become a Patron</a>
August 14, 2016 at 12:30 am #191252rosstcorbett
MemberThank you!
Really grateful for your help and time.
Thanks again.
August 15, 2016 at 10:18 pm #191350MR.NAME
MemberHello, I unchecked the box to display featured image above posts and removed the code you suggested, but all my blog posts still display the featured image on the home page. I have my site set up to show my recent posts and have not set up a widgetized home page, so I'm just using this theme "blog style". What else can I do to stop displaying the featured images? Here is a link: http://devclient1.tekoatek.com/page/2/
Thanks!
August 16, 2016 at 8:45 am #191379Christoph
MemberHi,
in functions.php around line 136, you will find the following code:
//* Remove default Genesis featured image remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); add_action( 'genesis_entry_content', 'genesis_do_post_image', 1 );
Replace it with
//* Remove default Genesis featured image remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); add_action( 'genesis_before_entry', 'ch_remove_featured_image_on_home_or_front_page'); function ch_remove_featured_image_on_home_or_front_page() { if ( is_home() || is_front_page() ) { return; } add_action( 'genesis_entry_content', 'genesis_do_post_image', 1 ); }
August 16, 2016 at 9:33 pm #191411MR.NAME
MemberThat worked perfectly, thanks so much!
August 28, 2016 at 5:08 am #192156Chris Humphrey
MemberHi Christoph,
Thanks for your tip about editing functions.php. I'm new to editing CSS, so in order to follow your tip, is this as simple as editing and saving the functions.php file, which I can reach by clicking Dashboard/Appearance/Editor?
Thanks for your help, have a coffee on me!
ChrisAugust 28, 2016 at 7:31 am #192164Christoph
MemberHi Chris,
thank you.
Yes, it is as simple as that.
Please be aware that any typo or other mistake in functions.php will take your website down.
You won't be able to access the admin area (including the Editor) anymore.I recommend to have FTP access or cPanel login (to get to the FileManager) handy to correct any issues (by editing functions.php).
August 30, 2016 at 12:02 pm #192350Chris Humphrey
MemberHi Chris,
Many thanks for your help! One last question, do you know where I can edit the amount of padding in the site header? I'd like to slim down the header that contains the site logo or name, if possible please?
Thanks
ChrisAugust 30, 2016 at 12:27 pm #192353Christoph
MemberApril 20, 2018 at 1:18 pm #219154joeroberson
MemberAce, thanks from me too, Chris
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.