For example
How do I remove these option?
What’s the best way to do it?
just use CSS display:none?
something like
.bold.btn.no-text.btn-icon.ember-view{
display: none;
}
it work, but is this the best way?
Thanks!
just use CSS display:none?
something like
.bold.btn.no-text.btn-icon.ember-view{
display: none;
}
Thanks!
I don’t know if it might be the “best” way to do it. But it certainly is the simplest way to do it.
If you take it out of the DOM there is the possibility that users could add it back in (like you did using your dev tools to remove it)
If you wanted to take it out completely it would involve removing it from the output which is not so simple to do.
So I guess the question is why do you want to remove them. Is the goal to simply tidy up the options display or to deter or prevent users from having those options?
Thanks for reply!
I simply want tidy up,
I am just asking in case there are better way, now I would keep using this CSS way~
Thanks again!
مرحباً، هل وجدت أنت أو أي شخص آخر طريقة لترتيب القائمة؟
أريد تعطيل رمز التقويم لأنه يتعارض مع المكون الإضافي المخصص للأحداث من Pavilion
هل تريد إخفاء الأيقونة أم تعطيل ميزة التواريخ المحلية بالكامل؟ تختفي الأيقونة إذا قمت بتعطيل discourse local dates enabled. ومع ذلك، إذا كنت لا ترغب في تعطيل الميزة بشكل عام، يمكنك إخفاء الزر باستخدام CSS. يمكنك أيضًا قراءة المزيد حول تخصيص شريط أدوات المنشئ على How to customize the composer toolbar? - #3 by awesomerobot.
نعم، بالضبط هذا. شكراً على النصيحة. لقد نجحت في حل المشكلة بالنسبة لي.