Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1054758
    SUITED
    Participant

    Hello,

    I’ve tried a bunch of different css snippets from various topics here in the support center, and none of them have worked for me. I’m simply trying to display a featured image for my portfolio items on the main ‘portfolio’ page (named ‘WORK’ on my site), as well as the ‘recent posts’ element, but NOT on the portfolio item’s actual full-view page itself. The image is too large, and redundant anyway for my purposes.

    I have tried:

    .entry-featured,
    .entry-thumb {
    display: none !important;
    —-
    .single-x-portfolio .entry-thumb {
    display: none !important;
    —-
    .single-x-portfolio .has-post-thumbnail .entry-featured {
    display: none;
    }

    .single-post .has-post-thumbnail .entry-featured {
    display: none;
    }
    —-

    ….none of these have worked. The last of these code snippets is currently in my Appearance>Customize>edit global CSS section.

    Thank you in advance for any help you can offer.

    #1054886
    SUITED
    Participant
    This reply has been marked as private.
    #1055078
    Joao
    Moderator

    Hi There,

    Hi there you have a few glitchs on your CSS Code you are starting the code with a } that was probably forgotten there than you have two unclosed media queries when you have a media query @media… the media query opens one curly bracket inside there is your code which also opens one so the media query always finishes with double }}

       .x-navbar-inner:after {
           content: '';
           display: table;
           clear: both;
       }
    

    Shoudl look like

    
       .x-navbar-inner:after {
           content: '';
           display: table;
           clear: both;
       }
    }

    Please review your code delete what you judge unecessary and than you can use this code:

    .single-x-portfolio .entry-featured {
    display: none;
    } 
    .single-post .entry-featured {
      display: none;
    }

    Let us know if you have any questions,

    Joao

    #1056754
    SUITED
    Participant

    Joao,

    That did it! Thanks so much.

    #1056851
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1054758 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>