/operate/ - Endchan Operations

Let us know what's up

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Magrathea | Catalog | Bottom

Expand All Images


(44.22 KB 564x423 1595945397926.jpg)
Regarding my image board VanHilton 11/17/2022 (Thu) 10:14 [Preview] No. 18264
Greetings from VanHilton Media

Is it possible to get rid of the "drawing" and "password" fields? I'd prefer my board not have these. Just Name/Email/Subject/Comment/File(s) and nothing else.


Anonymous 11/17/2022 (Thu) 10:27 [Preview] No.18265 del
How about hiding them with custom css?


VanHilton 11/18/2022 (Fri) 21:33 [Preview] No.18271 del
>>18265
Is this possible? If so what do I put in my custom .css to do so?


Anonymous Admin 11/19/2022 (Sat) 09:07 [Preview] No.18273 del
>>18271
I will take a look.


e Admin 11/19/2022 (Sat) 12:34 [Preview] No.18276 del
>>18271
You can select these particular elements you want to hide with the :nth-child(x) selector, where the x is the number of the element.
The elements of the form is in the table and the "Password" and "Drawing" fields are in the 5th and 6th table rows, or in the 4th and 5th if you force anonymity via your board's settings (ie. no "Name" field).
Then you can use display: none; css rule to hide elements (there are other options, if you prefer something else you can use that ofc);
Since no other table rows on the page you could use the following:

tr:nth-child(4), tr:nth-child(5) {
display: none;
}

Or:

tr:nth-child(5), tr:nth-child(6) {
display: none;
}

Depending on the Name field, as I wrote above. This is important, you don't want to hide captcha accidentally or something.



Top | Return | Magrathea | Catalog | Post a reply