Community Forums › Forums › Archived Forums › Design Tips and Tricks › Featured Image on bbPress Forum Home Page?
Tagged: bbPress, going green
- This topic has 17 replies, 2 voices, and was last updated 11 years, 5 months ago by
AnitaC.
-
AuthorPosts
-
September 5, 2013 at 7:13 pm #60981
Jeff Hester
MemberI'm using Going Green Pro in conjunction with bbPress, and the forum home is rendering with a featured image. Not sure how it "picked" the featured image, or how to change it.
Any ideas or suggestions? You'll see the problem here: http://socalhiker.net/community/
http://socalhiker.net/community/September 5, 2013 at 7:48 pm #60984AnitaC
KeymasterSo when you open up the Forum page under Pages - you don't see a featured image selected there?
Need help with customization or troubleshooting? Reach out to me.
September 5, 2013 at 8:26 pm #61001Jeff Hester
MemberSeptember 8, 2013 at 2:58 pm #61389Jeff Hester
MemberSeptember 13, 2013 at 3:53 pm #62374Jeff Hester
MemberSeptember 13, 2013 at 4:07 pm #62377AnitaC
KeymasterJeff, add this to your style sheet and see if it works for you. It worked for me in Firebug. Sorry I wasn't able to get back to this. For some reason I wasn't subscribed and wasn't getting your replies.
.post-0 img {
display: none;
}
Need help with customization or troubleshooting? Reach out to me.
September 13, 2013 at 4:11 pm #62378AnitaC
KeymasterI noticed on my screen - your primary sidebar is way at the bottom also. Is it like that for you too?
Need help with customization or troubleshooting? Reach out to me.
September 13, 2013 at 4:18 pm #62380AnitaC
KeymasterLook for this in your style sheet - change 90% to 92%. The demo has it set 92%.
.site-inner {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
clear: both;
margin: -16rem auto 0;
max-width: 1140px;
padding: 10px;
position: relative;
width: 90%;
z-index: 9;
}
Need help with customization or troubleshooting? Reach out to me.
September 13, 2013 at 4:28 pm #62383Jeff Hester
MemberAnitac, I use Chrome as my default, and the sidebar shows correctly there. I have previously tested Firefox and Safari and it was working, but after you mentioned that, I tested FF and sure enough -- the sidebar is pushed down below. I'm digging into it now.
The other CSS didn't work. What I'm really hoping for is to find out how to actually SPECIFY a featured image for the forum index; not just hide it.
September 13, 2013 at 4:39 pm #62386AnitaC
KeymasterI found this thread on bbPress - did you see it? http://bbpress.org/forums/topic/add-a-featured-image-to-a-forum/.
Need help with customization or troubleshooting? Reach out to me.
September 13, 2013 at 4:52 pm #62393Jeff Hester
MemberThanks Anitac. Interesting about the 92% in the demo. I double checked the original ZIP download of the theme and it has it at 90% (which I did not change). I've added that change and it's working in Firefox now.
I've seen that post in the bbPress forums. I'm not actually looking to add images to forums, but to control the image that is on the index page (the list of all forums).
To be super-clear:
This is the forum index: http://socalhiker.net/community/
It is displaying a featured image, but I don't have any clue where it's getting it from.This is a sample forum: http://socalhiker.net/community/forum/got-a-question/
It is not displaying a featured image, and I'm fine with that.
September 13, 2013 at 5:29 pm #62402AnitaC
KeymasterThe main forum index is POST-0. The sample forum is POST-2950. Here's the link to the Facebook image in that the index - http://i1.wp.com/socalhiker.net/wp-content/uploads/facebook_60.png?resize=900%2C440. Check your media files to see it you can find it. Delete it and let's see what happens.
Need help with customization or troubleshooting? Reach out to me.
September 13, 2013 at 5:34 pm #62406Jeff Hester
MemberSeptember 13, 2013 at 5:49 pm #62414AnitaC
KeymasterDid you delete it from the Media area or did you go to the file folder on the server?
Need help with customization or troubleshooting? Reach out to me.
September 13, 2013 at 6:16 pm #62422Jeff Hester
MemberI deleted it from the Media Library.
I then deleted the RSS icon, and it picked up a Twitter icon. All three of these were old images no longer used.
So then I created a replacement image with the same name as the twitter icon, and uploaded that using FTP, overwriting the original icon:
http://socalhiker.net/wp-content/uploads/twitter_60.png
This is a total cludge, but I'm okay with that for now. The only problem is that Jetpack Photon (which I use for image caching, is still caching the old Twitter icon. Reading their docs (http://jetpack.me/support/photon/) images are cached "forever" and the only way to clear the cache is to rename the image.
So... I went into phpmyadmin and changed the image URL. Now it's showing the "correct" image. But it's still voodoo black magic.
There has got to be a better way.
September 13, 2013 at 7:33 pm #62428AnitaC
KeymasterThe picture looks great... voodoo! Maybe try again tomorrow... you know today is Friday the 13th! I'm glad you got it fixed... even if you did have to use magic!
Need help with customization or troubleshooting? Reach out to me.
September 16, 2013 at 7:42 pm #62921Jeff Hester
MemberOkay, I have a solution for disabling the featured image on the bbPress forum index. I added the following code to the functions.php:
function ja_remove_bbp_image() { if ( is_bbpress() ) { remove_action( 'genesis_entry_header', 'going_green_featured_photo', 5 ); } } add_action( 'genesis_before', 'ja_remove_bbp_image' );
Solution courtesy of Jared Atchison here: http://wordpress.org/support/topic/featured-image-90?replies=2#post-4658815
So the featured image is not hidden on that forum index page. Yay!
September 16, 2013 at 8:12 pm #62934 -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.