Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 20, 2024Nov 20 I don't want to show the autor on this view. Is there a way with blocks (as we can did on 4.7) ? Where I need to go or how I can edit this template ?
November 20, 2024Nov 20 The easy solution is just to hide it via CSS. I'll let the devs answer if there is a better way.
November 21, 2024Nov 21 Author Sometinh like that ? div[data-ips-hook="row"] .ipsData__meta { display:none; }
November 21, 2024Nov 21 the "display: none;" part is what Im assuming you are referring to, and indeed thats how you would hide something
November 21, 2024Nov 21 Author No it's more about the class and name I have to put to touch the element I want to hide. This, I shared, it's not working.
November 21, 2024Nov 21 I shall leave that to someone much better at CSS than I to correct. However Just looking myseld, I would have thoght it would be the class ipsData__last-text
November 21, 2024Nov 21 Author Thanks. No this is for the last poster. Not the author. .ipsData__meta { display:none !important; } This is working. But I don't know if it's hidding other things somewhere else.
November 21, 2024Nov 21 Ah, got ya. Something like this maybe ul.ipsData.ipsData--grid.ipsData--topic-feed-widget .ipsData__meta { display: none; }
November 22, 2024Nov 22 This may look a little confusing at first, but this is an alternative way to hide it (and how the default CSS handles it). .ipsData--grid.ipsData--topic-feed-widget{ --i-data--show-last-author: initial; --i-data--show-last-reply: ; } In the future, it'll be more readable. Something like this (but this code won't work just yet): .ipsData--grid.ipsData--topic-feed-widget{ --hide-meta: true; }
November 22, 2024Nov 22 Author 10 hours ago, Ehren said: This may look a little confusing at first, but this is an alternative way to hide it (and how the default CSS handles it). .ipsData--grid.ipsData--topic-feed-widget{ --i-data--show-last-author: initial; --i-data--show-last-reply: ; } Thanks. Sorry but it doesn't work as I wish. This code is hidding last author post and is showing author. And if I try this : .ipsData--grid.ipsData--topic-feed-widget{ --i-data--show-last-author: ; --i-data--show-last-reply: initial; } it's showing both. I want to hide author post and keep last poster
November 23, 2024Nov 23 Oh whoops, I totally misunderstood this haha. Marc's code will work fine in that case! 😅
November 24, 2024Nov 24 22 hours ago, Ehren said: Oh whoops, I totally misunderstood this haha. Marc's code will work fine in that case! 😅