sega.grl's profile picture

Published by

published
updated

Category: Web, HTML, Tech

If u need help changing the titles in the interest boxes use this (since i can't make a layout)

All u have to do is copy and paste this code into ur about me and then change the content name to whatever u want. (it will change ur links names if u have them there tho)



<style>

/* ---------------------------

  Changing the interest table names

   --------------------------- */


/* 1) Hide any original title element we might encounter */

.table-section .details-table tr td:first-child p,

.table-section .details-table tr td:first-child h4,

.details-table tr td:first-child p,

.details-table tr td:first-child h4,

.interests tr td:first-child p,

.interests tr td:first-child h4,

.interests td p,

.interests td h4 {

  display: none !important;

}


/* 2) Basic styling for the injected labels (applies to all matches) */

.table-section .details-table tr td:first-child::before,

.details-table tr td:first-child::before,

.interests tr td:first-child::before,

.interests td::before {

  display: block;

  font-size: 12px;

  font-weight: 700;

  color: #111 !important;     /* change color here if needed */

  margin: 0 0 6px 0;

  line-height: 1;

}


/* 3) The six rows (change the content strings as you like) */

/* Row 1 = General / About */

.table-section .details-table tr:nth-child(1) td:first-child::before,

.details-table tr:nth-child(1) td:first-child::before,

.interests tr:nth-child(1) td:first-child::before,

.interests tr:nth-child(1) td::before {

  content:  "topic 1";

}


/* Row 2 = Music */

.table-section .details-table tr:nth-child(2) td:first-child::before,

.details-table tr:nth-child(2) td:first-child::before,

.interests tr:nth-child(2) td:first-child::before,

.interests tr:nth-child(2) td::before {

  content: "topic 2";

}


/* Row 3 = Movies */

.table-section .details-table tr:nth-child(3) td:first-child::before,

.details-table tr:nth-child(3) td:first-child::before,

.interests tr:nth-child(3) td:first-child::before,

.interests tr:nth-child(3) td::before {

  content: "topic 3";

}


/* Row 4 = Television */

.table-section .details-table tr:nth-child(4) td:first-child::before,

.details-table tr:nth-child(4) td:first-child::before,

.interests tr:nth-child(4) td:first-child::before,

.interests tr:nth-child(4) td::before {

  content: "topic 4";

}


/* Row 5 = Books */

.table-section .details-table tr:nth-child(5) td:first-child::before,

.details-table tr:nth-child(5) td:first-child::before,

.interests tr:nth-child(5) td:first-child::before,

.interests tr:nth-child(5) td::before {

  content: "topic 5";

}


/* Row 6 = Heroes */

.table-section .details-table tr:nth-child(6) td:first-child::before,

.details-table tr:nth-child(6) td:first-child::before,

.interests tr:nth-child(6) td:first-child::before,

.interests tr:nth-child(6) td::before {

  content: "topic 6";

}

</style>


9 Kudos

Comments

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