Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1472675

    Hi,
    I’d like to hide the post date (meta information) for a specific blog category called “kundenstimmen”. On the grid list and the post page. Currently, the date is displayed using the time.slide-meta-time.updated element.
    For all other categories, the post date should remain visible. I tried targeting .category-kundenstimmen time.slide-meta-time.updated with CSS, but it didn’t work.
    I use the grid layout.
    Could you please guide me on how to achieve this?
    Thank you in advance for your help!
    Sabo

    #1472679

    Hey agenturwendt,

    Thank you for the inquiry.

    I tried targeting .category-kundenstimmen time.slide-meta-time.updated with CSS, but it didn’t work.

    Try to use this css code instead:

    .page-id-167 .slide-meta-time.updated {
        display: none;
    }

    Best regards,
    Ismael

    #1472694

    maybe Günter likes to insert some additonal infos to each article of those posts.

    i edited f.e. postslider.php ( see on pastebin lines 980ff ) : https://pastebin.com/sw25aPdp
    Masonry is working – but for Portfolio Grid see: ( https://pastebin.com/8MgA8nzf ) it had to be done too in a similar way. But because of sort class on grid-entry it is not necessary here.

    see Result:

    each slide-entry will have than those additional classes to represent the categories (taxonomies on portfolio ) the post belongs to.
    It would then be easy to selectively influence this.

    #1472760

    Hi,

    Thank you for the modification @Guenni007. We’ll forward the info to our channel.

    These checks seem to be incorrect:

    if($post_type = 'post'){
    
     if($post_type = 'portfolio'){
    

    Best regards,
    Ismael

    #1472762

    Hi,

    UPDATE: Looks like Günter has already read this thread. Please wait for his response

    Best regards,
    Ismael

    #1472953

    yes – but it works – hope Günter will include it – because it would simplify many things – as the example above shows – by enabling better selection

    #1472972

    Hi,

    Thank you for sharing. This will probably be included in the next patch.

    Best regards,
    Ismael

    #1473032

    Hi Ismael,
    your code did not work… any other ideas?

    .page-id-167 .slide-meta-time.updated {
    display: none;
    }

    #1473064

    Hi,

    Thank you for the update.

    The code works when we apply it directly to the browser. Please add it again and make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings and purge the cache. Let us know of the result.

    Best regards,
    Ismael

    #1473380

    Hi @Ismael,

    it’s strange. The code doesn’t work. Even when I insert it without the page ID. Also with !important;
    More strange is that the post-date still remains even when I set it off in the Enfold setting “Blog Layout”. It all off. But the date does not disappear.

    I put a developer login to my page as private content.

    #1473402

    Hi,

    Thank you for the inquiry.

    We added the code in the Quick CSS field and temporarily disabled the Performance > File Compression settings. The dates are now hidden. Please make sure to purge the cache before checking the page.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.