Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months, 3 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Hide Featured Image in posts and pages but…..

  • This topic has 7 replies, 2 voices, and was last updated 12 years, 1 month ago by Schneizel Britannia.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • April 8, 2013 at 5:15 am #2408
    Schneizel Britannia
    Participant

    Hello there.

    I’m wondering how to fix this. Whenever I add a featured image it also shows up besides the title as a bit larger thumbnail. I don’t want it. I only add featured image for the featured content slider. How can I hide the featured image besides the title without loosing the image in my featured slider???

    I found so many ways to do it but somehow your commonsinabox infinity theme structure is different so I have a hard time dealing with it.

    April 14, 2013 at 5:07 am #2460
    Schneizel Britannia
    Participant

    I just want to bump this post of mine because I still haven’t figured out the answer.

    April 14, 2013 at 10:29 am #2461
    Scott Voth
    Keymaster

    Hi – Maybe the easiest way to not display the featured image is to do it via CSS –

    for a specific slider or post:

    #post-18 .postthumb img {
    display:none;
    }

    or for all sliders and posts:

    .postthumb img {
    display:none;
    }

    April 14, 2013 at 11:50 pm #2488
    Schneizel Britannia
    Participant

    What if I just want to hide the featured image inside every post and keep them showing in my featured slider? Featured image shows as a bit larger thumbnail besides the title of my posts so I want to hide it.

    April 15, 2013 at 12:02 am #2489
    Schneizel Britannia
    Participant

    Also it shows up in my pages whenever I add a featured image inside it.

    I only want to show it in featured image slider and hide it in posts and pages…..

    Attachments:
    You must be logged in to view attached files.
    April 20, 2013 at 8:48 am #2519
    Schneizel Britannia
    Participant

    I just want to bump it, because I haven’t found the answer yet.

    April 20, 2013 at 5:44 pm #2524
    Scott Voth
    Keymaster

    Hi Britannia – Are you using the CBOX theme?  Just wondering…

    For the homepage slider, if you click on the image, it will take you to a page where the featured image (from the slider) is displayed horizontally, at the top.  But if you use the following CSS (which will not affect your slider functionality), you can hide that featured image at the top of the page (you would need to replace xx with your specific post id, if you want to do this on an individual basis) :

    #post-xx .postthumb img {
    display:none;
    }

    Or if you want to do this for all sliders (and pages and posts), try this:

    .postthumb img {
    display:none;
    }

    For regular posts and pages, I think you have to specifically designate a featured image.  So can’t you just not assign one if you don’t want to display it?

    Maybe you can provide a link to your site if this doesn’t make sense, and show us where you want to hide the image?  Maybe what your seeing is actually not a featured image?

     

     

    April 21, 2013 at 9:17 pm #2541
    Schneizel Britannia
    Participant

    That works! Thanks! 😀

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register