SoloInter Posted November 20 Posted November 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 ?  Â
Jim M Posted November 20 Posted November 20 The easy solution is just to hide it via CSS. I'll let the devs answer if there is a better way. SoloInter 1
SoloInter Posted November 21 Author Posted November 21 Sometinh like that ? div[data-ips-hook="row"] .ipsData__meta { display:none; } Â
Marc Posted November 21 Posted November 21 the "display: none;" part is what Im assuming you are referring to, and indeed thats how you would hide something
SoloInter Posted November 21 Author Posted November 21 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.Â
Marc Posted November 21 Posted November 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
SoloInter Posted November 21 Author Posted November 21 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.
Marc Posted November 21 Posted November 21 Ah, got ya. Something like this maybe ul.ipsData.ipsData--grid.ipsData--topic-feed-widget .ipsData__meta { display: none; } Â SoloInter 1
SoloInter Posted November 21 Author Posted November 21 Yes, this is working too. I will use yours. Thanks.
Ehren Posted November 22 Posted November 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; } Â SoloInter, Afrodude, David N. and 1 other 4
SoloInter Posted November 22 Author Posted November 22 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
Ehren Posted November 23 Posted November 23 Oh whoops, I totally misunderstood this haha. Marc's code will work fine in that case! 😅 SeNioR- and SoloInter 2
Marc Posted November 24 Posted November 24 22 hours ago, Ehren said: Oh whoops, I totally misunderstood this haha. Marc's code will work fine in that case! 😅 Jim M and Ehren 2
Recommended Posts