SoloInter Posted Wednesday at 07:42 PM Posted Wednesday at 07:42 PM 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 Wednesday at 08:12 PM Posted Wednesday at 08:12 PM 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 Thursday at 11:10 AM Author Posted Thursday at 11:10 AM Sometinh like that ? div[data-ips-hook="row"] .ipsData__meta { display:none; }
Marc Posted Thursday at 11:27 AM Posted Thursday at 11:27 AM the "display: none;" part is what Im assuming you are referring to, and indeed thats how you would hide something
SoloInter Posted Thursday at 12:09 PM Author Posted Thursday at 12:09 PM 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 Thursday at 12:39 PM Posted Thursday at 12:39 PM 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 Thursday at 12:45 PM Author Posted Thursday at 12:45 PM 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 Thursday at 12:49 PM Posted Thursday at 12:49 PM Ah, got ya. Something like this maybe ul.ipsData.ipsData--grid.ipsData--topic-feed-widget .ipsData__meta { display: none; } SoloInter 1
SoloInter Posted Thursday at 02:53 PM Author Posted Thursday at 02:53 PM Yes, this is working too. I will use yours. Thanks.
Ehren Posted yesterday at 12:11 AM Posted yesterday at 12:11 AM 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; } Afrodude, David N., SoloInter and 1 other 4
SoloInter Posted 17 hours ago Author Posted 17 hours ago 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
Recommended Posts