By Getro Keight on Tuesday, 31 October 2017
Posted in General
Likes 0
Views 287
Votes 0
Hey !
I previously created a ticket, which is now locked, about removing the new discussion button in the toolbar.
Here is the link : https://stackideas.com/forums/disable-new-discussion-or-question-for-guests
The simple display: none; doesnt make it right because it simply removes all the buttons who are part of the right grid so it also removes the "Reply" button at the bottom of a discussion, which is kind of a problem.

I am having trouble finding the exact class of this button, could you help me ?
Maybe we could make an override in the php of the toolbar. Should we work on the toolbar module (even though this toolbar is part of the component and not a separate module) or on the component ?

Waiting for your help !
Thanks,
Hey Getro,

Are you referring to the button highlighted here, http://take.ms/gIDvK ? You should use the following selector,

[gist]
body #ed .btn-primary.ed-navbar__btn-ask {
}
[/gist]
·
Tuesday, 31 October 2017 02:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark !
That's perfect !
May I ask how did you find the selector ? Thanks !
·
Tuesday, 31 October 2017 02:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Getro,

By using the inspector tool on Firefox You have it on Chrome too.
·
Tuesday, 31 October 2017 02:53
·
0 Likes
·
0 Votes
·
0 Comments
·
I'll use the Firefox tool next time, since Chrome didn't gave me the good one ! Thanks
·
Tuesday, 31 October 2017 03:22
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Getro Have a great week ahead!
·
Tuesday, 31 October 2017 09:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post