Forum Replies Created
-
AuthorPosts
-
Giuljo
MemberUgh! Ignore my last note. My client actually entered the title in uppercase so that explains that.
And a light bulb went off - all those elements: title of widgets, site title, etc. are links. Of course they'd be affected by that line of code.
Thank you again for your help.
Giuljo
MemberThank you! That was driving me crazy. I thought that piece of code would only affect the a elements. Still don't entirely understand why it overrode the title. In any case, the fonts are showing up properly now.
One odd thing - the title is still showing up as upper case even with the transform property for the site title commented out. Wonder if it's being affected by the transform property for the menu and widget titles. Is that even possible?
August 17, 2016 at 9:45 am in reply to: Featured Image for Posts not displaying in Eleven40 Child Theme #191454Giuljo
MemberOne other note: the image styling in the code above isn't necessary. That's only needed if you want to change the way the image shows.
Oops - I lied. Two more notes: In my theme options, the featured image box under archives was not checked. I changed that and everything now works.
August 13, 2016 at 7:00 am in reply to: Featured Image for Posts not displaying in Eleven40 Child Theme #191212Giuljo
MemberI found a solution for Outreach Pro which may work for the Eleven40 Child Theme.
Add this code to the functions.php file
// show featured images on post pages **************************** //* image size can be adjusted add_image_size( 'single-thumbnail', 680, 200, true ); //* Display featured image above content on Posts add_action ( 'genesis_entry_content', 'sk_show_featured_image_single', 9 ); function sk_show_featured_image_single() { if ( is_singular('post') && has_post_thumbnail() ) { echo '<div class="single-thumbnail">'; genesis_image( array( 'size' => 'single-thumbnail' ) ); echo '</div>'; } }
Code for style.css
/* Display featured image above content on Posts ------------------------------------------------ */ .single-thumbnail { margin-bottom: 20px; } .single-thumbnail img { vertical-align: top; float: left; padding-right: 15px; padding-bottom: 15px; }
If you want the post text to start beneath the image, remove the float & the right padding.
August 11, 2016 at 7:19 am in reply to: Featured Image for Posts not displaying in Eleven40 Child Theme #191109Giuljo
MemberI came over to the forum looking for the same information: getting the featured image to show up on the post pages.
I know Outreach Pro suppresses them but my client wants the images so I need to know how to get them back. Would prefer not to have to switch child themes as I put in a lot of customizations already.
Giuljo
MemberPerfect! It's working now. I greatly appreciate your help with this. I suspected it would end up coming down to 1 line of code missing. 😀
Giuljo
MemberI've posted the code for all 4 files that I edited:
I placed comments in caps for the sections I added.
Thank you so much.
Giuljo
MemberThe widget ID is unique. The widget is registered. I am able to add content on the back end. It's just not showing up on the landing page. The landing page is only showing one row.
Giuljo
MemberSon of a gun! That was exactly it. Thank you so much!
Giuljo
MemberI don't have Photon. The only style sheet I'm editing is the one for Outreach Pro. I haven't added any additional style sheet and I can't find that code reference "height: 160px;" anywhere.
Giuljo
MemberCaching is disabled. I even loaded the page in a different browser that I rarely use. No change.
Also tried installing WP Super Cache just to make sure it was cleared.
Giuljo
MemberI finally realized that, unlike in the plain WP themes, there isn't a navigation bar at the top until you create it. Never occurred to me it wasn't automatic.
Thank you for your reply.
-
AuthorPosts