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!


183 Kudos

Comments

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

Chloe ⋆──⃝─⃝⃝⃝⃝──⋆

Chloe ⋆──⃝─⃝⃝⃝⃝──⋆'s profile picture

I'm surprised that Sunny hasn't left a comment advertising his own code here yet--but yeah, for those wondering this code only appears to you and you only. If someone could help me find one that shows up to everyone, that would be much appreciated


Report Comment



🌎 . · bea dog

🌎 . · bea dog's profile picture

THANK YOU !!!!!


Report Comment

Odisea

Odisea's profile picture

the renaming code doesn't work on the mobile ver for me


Report Comment



looks like the hide code too omg

by Odisea; ; Report

CJ821

CJ821's profile picture

Thank you!


Report Comment

Shiny_Shin

Shiny_Shin's profile picture

THANK YOU VERY MUCH!


Report Comment

β˜… LOCALLOSERβ˜…

β˜… LOCALLOSERβ˜… 's profile picture

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


Report Comment

ΛšΛ–`⭐ ONE ! ˚. ⋆

ΛšΛ–`⭐ ONE ! ˚. ⋆'s profile picture

THANK YOUUU!!


Report Comment

ΛšΛ–`⭐ ONE ! ˚. ⋆

ΛšΛ–`⭐ ONE ! ˚. ⋆'s profile picture

THANK YOUUU!!


Report Comment

ΛšΛ–`⭐ ONE ! ˚. ⋆

ΛšΛ–`⭐ ONE ! ˚. ⋆'s profile picture

THANK YOUUU!!


Report Comment

ΛšΛ–`⭐ ONE ! ˚. ⋆

ΛšΛ–`⭐ ONE ! ˚. ⋆'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 Lovelust πŸŽ€πŸ§

Victoria Lovelust πŸŽ€πŸ§'s profile picture

you're a life saver, thank you <3


Report Comment

ARTHUR

ARTHUR'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

Juni

Juni'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