Jump to content

Featured Replies

Posted

image.thumb.png.4ea8a1064effa47abb0a9c75ee264591.png

 

I don't want to show the autor on this view. 

Is there a way with blocks (as we can did on 4.7) ? 

image.png.b9953cbe15d6264212c7147248b8716d.png

image.thumb.png.31c7ca627732e74df2e299ecd6a1c64f.png

 

Where I need to go or how I can edit this template ?

 

 

The easy solution is just to hide it via CSS. I'll let the devs answer if there is a better way.

  • Author

Sometinh like that ? 

div[data-ips-hook="row"] .ipsData__meta {
	display:none;
}

 

the "display: none;" part is what Im assuming you are referring to, and indeed thats how you would hide something

  • 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. 

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

  • 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.

Ah, got ya. Something like this maybe

ul.ipsData.ipsData--grid.ipsData--topic-feed-widget .ipsData__meta {
 display: none; 
}

 

  • Author

Yes, this is working too. 

I will use yours. Thanks.

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;
}

 

  • 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

Oh whoops, I totally misunderstood this haha. Marc's code will work fine in that case! 😅

22 hours ago, Ehren said:

Oh whoops, I totally misunderstood this haha. Marc's code will work fine in that case! 😅

Big Brother Reggie GIF by Big Brother Australia

Recently Browsing 0

  • No registered users viewing this page.