DarkElegy's profile picture

Published by

published
updated

Category: Web, HTML, Tech

Tidying up sections of interest

Hi everyone, this is a tutorial on how to delete partitions in the

First you need to select what you want to delete 

General = 1

Music = 2

Movies = 3

Television = 4

Books = 5

Heroes = 6

At the beginning of your layout you need to insert this CSS code

<style>

.table-section:not(:last-child) tr:nth-child(n) {
    display: none;
}

<style>

you must write a number instead of n

If you need to remove Movies, TV, Books, Heroes.

Here's the CSS code for that


<style>

.table-section:not(:last-child) tr:nth-child(3), .table-section:not(:last-child) tr:nth-child(4), .table-section:not(:last-child) tr:nth-child(5), .table-section:not(:last-child) tr:nth-child(6) {

    display: none;

}

<style>


2 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )