[Yoko] Turning featured image header off?

  • Unknown's avatar

    I’m not sure if this is a general WP question or specific to Yoko. Can I turn the featured image header option off? I had thought orginally it was off and that I’d turned it on to find out what it did. But now I can’t find where to turn it off. I’ve been testing out so many things, I’ve forgotten and maybe I it was on by default.

    I’m using featured image for some posts that I want to display in the sidebar. But for some of them, the image is useful as a thumbnail but weird as a header.

    And I’m not sure I understand how it works. I think: if the featured image attached to a post is a certain size, that image will replace the header image only when I’m viewing that post. And if the featured image isn’t big enough, the normal site header will be displayed as usual. Is that right?

    Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    There is no such thing as a turn off button on any theme with regard to featured images. If you set one it will display. If you do not set one it will not display. How the theme is designed to function is found here https://wordpress.com/themes/yoko/ and this is the live demo site link https://yokodemo.wordpress.com/

    Note that all blogs wearing the same theme here at wordpress.COM are using the same underlying template found on the live demo site. Also note that we bloggers cannot access and edit the HTML and/or PHP underlying our themes. See here Frequently Asked Questions https://en.support.wordpress.com/custom-design/#frequently-asked-questions and scroll down to “Does Customize let me edit HTML?”

  • Unknown's avatar

    I have read your threads and I’m wondering if you would not be best off to get web hosting http://wordpress.org/hosting/ and set up your own wordpress.ORG software install. WordPress.COM is an turnkey operation with off the shelf themes. Our CSS editing ability is limited and those who are into sophisticated theme re-deisgn do that on wordpress.ORG installs. They pay for hosting only and not for upgrades like we do here.

    WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/

  • Unknown's avatar

    Thanks for taking this trouble and your thoughtfulness.

    I already have a WP.org site for another group that I manage myself. But now I’m working on a site for an amateur choir. While I’d be happy to use WP.org again, I need to make the site as simple and trouble-free as possible so that if I’m not available, or ultimately when I leave the choir, someone else can run it. Without having to learn the extra things that are specific to WP.org. Such as updating WP, themes and plugins and troubleshooting when things stop working. When updated themes and plugins don’t play together for example. I assume that sort of conflict won’t happen on WP.com.

    I’m happy to do some tweaking such as shortcodes and CSS to set the site up as usefully as possible. I can write help documents about the tweaks so people can refer to it in future. And all the time I’m thinking about what will happen if the theme becomes defunct and we need to move to another, so I’ll include that in the help doc. It may be that copying the same CSS into a different theme will work just as well. But I’m making sure that even though the tweaks add some functionality, the site will run well enough without them if push comes to shove.

    About the featured image header question, I’m confused because one of my test posts does replace the main site header with the featured image, but other test posts don’t do that. So I wondered whether I’ve somehow turned on that function of featured images for that post only. Or whether it’s something to do with image size. Or something else.

  • Unknown's avatar

    @auntyclare, are you looking to do away with the feature image header everywhere, or just on certain pages/posts? We can likely do this with CSS.

  • Unknown's avatar

    I did take a look and do not see that auntyclare.wordpress.com has the WordPress.com Premium Plan upgrade, which would be required in order to edit the CSS and remove the featured images. I checked Yoko and there isn’t a setting to hide the featured images in Yoko. Without the upgrade, you would need to simply not use featured images.

  • Unknown's avatar

    Thanks for your help.

    I’m just working on a mock-up at the moment, so only on a free site. But I’m hoping the committee will give the go-ahead to move to WP.com and have premium so we can continue to use our own domain. So I’m trying to find out now what will be possible.

    And I’m not sure but I think I may be able to add CSS in the live preview mode and see what happens on a free site, even though I can’t save it.

    As for turning it off throughout or post by post – hmmm. As far as I’m concerned, the more options I have the better! I have to do more experimenting. But at the moment, on balance, I think I’d like to be able to turn it off individually. Because otherwise posts won’t show the featured image at all on their pages. (Or we have to remember to insert the image in the post as well as attaching it as featured image.)

    But it would be handy to know how to turn it off site-wide as well in case the function turns out confusing for whoever I ultimately hand over to.

    Last time I looked, the featured image in the header only seemed to be happening in one post and that happened to have an image that was ridiculous when blown up that big. Other posts would have been fine with it. Except they’re not doing it! Why not? Is it to do with image size?

    Thanks again.
    Clare

  • Unknown's avatar

    Clare, thanks for the clarifications.

    We can turn off the featured images on all single post pages with this CSS.

    header#branding img.headerimage {
        display: none;
    }

    If you wanted to turn the images off on only certain pages or posts, you would need to get the unique postid or page-id class set in the opening body HTML tag on that particular page or post. For a post it would be like this example.

    .postid-68 header#branding img.headerimage {
        display: none;
    }

    For a page, it would be like this.

    .page-id-2 header#branding img.headerimage {
        display: none;
    }

    You can comma separate selectors, to keep from having to create separate rules by like this

    .page-id-2 header#branding img.headerimage, .page-id-18 header#branding img.headerimage, .page-id-41 header#branding img.headerimage {
        display: none;
    }
  • Unknown's avatar

    Brilliant! Thanks very much. I tried out the CSS to turn them all off and it worked a treat in the preview.
    Thanks.
    Clare

  • Unknown's avatar

    Clare, you are welcome.

  • The topic ‘[Yoko] Turning featured image header off?’ is closed to new replies.