Okay
  Public Ticket #1644933
delete categories in page
Closed

Comments

  • bureausla started the conversation

    Hello,

    Is it possible to remove the categories and tags in a news item and a portfolio item?

    And is it possible to remove the grey bar in 'news' (see website).

    Thanks for your response!~

    Willeke Binnendijk

  •  291
    Paul replied

    Hello Willeke!

    Yes, you can use this custom CSS to remove the categories and tags:

    .post-categories-tags-wrapper {
        display: none;
    }
    

    For the grey bar you mentioned, did you mean the date line? If so, then you can use this one:

    .post-meta-wrapper {
        display: none;
    }
    

    I hope it helps!

    Cheers,
    Paul

  • bureausla replied

    Yes, this is great! Thank you so much, Paul!

    Three last things:

    1. If I open a news post then 'head image' shows in the next screen. Is there a code to remove the 'head image'?

    2. I manipulated our logo (see attachment) to get it in line with the menu on the computer screen (because it is centered when I use it). When I see it on phone scale (see attachment) it's not so nice. Is there a possibility to get it both lined out well?

    3. I know where I can find the button to open parts of the menu in a new tab. But I can't find the option to open images and hyperlinks in a new tab. Can you tell me how to do that?

    Thanks in advance! 

    Willeke

  •  291
    Paul replied

    1. If I understand it correctly, please try:

    .single-post .post-image {
        display: none;
    }
    

    If you would also like to use custom CSS for other elements, I recommend Developer Tools on Chrome or Firebug on Firefox to inspect the elements on the page. Then you will know which CSS selector to adjust.

    More info: https://uxbarn.com/inspecting-elements-developer-tools/

    2. I am afraid not because the white space at the top that you see on your mobile is actually part of the logo image. So it would not be possible to crop it out on the fly. I would suggest using a smaller logo (the current logo is also way too big, it should not exceed 230px wide.) with no space around it.

    3. Did you mean the portfolio images? If so, then there is no option for that, unfortunately. The theme uses normal hyperlink tags without the 'target="_blank"' attribute for opening any portfolio images in a new tab. You would need to manually customize the theme code in order to change that.

    You can find the related code in the "/template-parts/portfolio-listing-loop.php" file.