Cory's profile picture

Published by

published
updated

Category: Web, HTML, Tech

πŸ–₯ CSS Snippet: How To Hide (or Rename) Interest Boxes

Who reads books anymore? Figure out what rows you want to get rid of, then copy and paste the code you want. If you want to get rid of multiple rows, select more than one code. Make sure to wrap all of your CSS in <style></style> tags so SpaceHey knows that it's CSS code.


REMOVE THE ROW
.table-section:nth-last-child(2) .details-table tr:nth-child(x){display:none;}

CHANGE THE TITLE
.table-section:nth-last-child(2)Β .details-table tr:nth-child(x) td:first-child p { font-size:0; }
.table-section:nth-last-child(2)Β .details-table tr:nth-child(x) td:first-child p:before { content:"WHATEVER"; font-size:.7rem; }

General: Replace (x) with (1)
Music: Replace (x) with (2)
Movies: Replace (x) with (3)
Television: Replace (x) with (4)
Books: Replace (x) with (5)
Heroes: Replace (x) with (6)

If you want to get rid of the whole thing, just doΒ 
-table-section:nth-last-child(2) .details-table {display:none;}

Remember: always put any CSS in between two Style tags: <style></style> That way, browsers will recognize that what you're trying to do is adjust the style. Also remember that CSS stands for Cascading Style Sheets, so the browser will activate styles from top to bottom!


156 Kudos

Comments

Displaying 20 of 30 comments ( View all | Add Comment )

β˜… LOCALLOSERβ˜…

β˜… LOCALLOSERβ˜… 's profile picture

THANK YOU!! T0T
(its supposed to be a face)


Report Comment

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB ! ˚. ⋆

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB...'s profile picture

THANK YOUUU!!


Report Comment

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB ! ˚. ⋆

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB...'s profile picture

THANK YOUUU!!


Report Comment

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB ! ˚. ⋆

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB...'s profile picture

THANK YOUUU!!


Report Comment

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB ! ˚. ⋆

ΛšΛ–π“’Φ΄ΰ»‹`πŸ’‘ SUPER / LIGHTBULB...'s profile picture

THANK YOUUU!!


Report Comment

belly

belly 's profile picture

using! tysm :3


Report Comment

Lexi

Lexi's profile picture

Thank you tons!
Only code i've found that works properly!

-Warm regards, Lexi!


Report Comment

Victoria Vanity πŸ”ͺπŸŽ€

Victoria Vanity πŸ”ͺπŸŽ€'s profile picture

you're a life saver, thank you <3


Report Comment

CECIL

😼CECIL😼's profile picture

i want it gone its still there?


Report Comment

⋆ . ˚ ✩ erica ⋆ . ˚ β‹†β˜†οΎŸ

⋆ . ˚ ✩ erica ⋆ . ˚ β‹†β˜†οΎŸ's profile picture

you're the fuckin best omg


Report Comment

coco

coco's profile picture

YOU'RE A LIFESAVER THANK YOUUUUUU <3<3<3<3<3<3<3
Until now, I hadn't found a code that worked well with the one that adds rows, so thank you so much for that!!!!! <3<3<3<3


Report Comment

nvtbvster

nvtbvster's profile picture

no matter what my man corys always got me covered πŸ’ͺ


Report Comment

decay β™‘

decay β™‘'s profile picture

thank you!!


Report Comment

Kaz

Kaz's profile picture

thanks! this is very helpful


Report Comment

m0nnie_

m0nnie_'s profile picture

YOU ARE THE BEST CORY!


Report Comment

⋆𓏲 tavryn β˜… ; πŸͺ½

⋆𓏲 tavryn β˜… ; πŸͺ½'s profile picture

OH MY LORD TYHSANK YOU SM, IVE WANTERD THIS CODE FOR SO LONG BUT I NEVER WAS ABLE TO FIND IT


Report Comment

ZoranaDragon

ZoranaDragon's profile picture

Thank you so much! Used this to change the heros section into a videogames section!


Report Comment

David V. Kimball

David V. Kimball's profile picture

Thank you!


Report Comment

TGJ

TGJ's profile picture

Woah! Thanks


Report Comment

MUNCHYKITTY β˜† (AUTO MUZIC WARNING)

MUNCHYKITTY β˜† (AUTO MUZIC...'s profile picture

thank you so much THis is awesome!


Report Comment