« SpaceHey Forum

help! i tried changing the interests titles, but it only shows for me and nobody else?

Posted by milesofstars

posted

Forum: SpaceHey

i need some help with coding my profile! im an amateur at html (ive made a few mediocre websites and stuff in the past, so ive got a decent grasp of it) but i cant figure this out

ive been using a free code to change the names of the titles in the interest boxes on my profile, and when i check my profile it shows them, but when i switch to another account and look at the profile, or ask my friend to look at it, it always shows the original titles (general, music, movies, etc.)

ive been looking at practically every different tutorial and guide for doing this, and a few people have had the same issue, but i cant find a single answer anywhere! when i check the profiles of other people who've used the exact same code, i can see the changed text on their profiles just fine, but it just wont work for mine...

what am i doing wrong?? any help very much appreciated! if i find a solution ill make sure to say


Report Topic

6 Replies

Sort Replies:

Reply by sudofry

posted

Try replacing this





with this.


.details-table tr:nth-child(1) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(1) td:first-child::after {
content: var(--topic1);
}

.details-table tr:nth-child(2) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(2) td:first-child::after {
content: var(--topic2);
}

.details-table tr:nth-child(3) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(3) td:first-child::after {
content: var(--topic3);
}

.details-table tr:nth-child(4) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(4) td:first-child::after {
content: var(--topic4);
}

.details-table tr:nth-child(5) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(5) td:first-child::after {
content: var(--topic5);
}

.details-table tr:nth-child(6) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(6) td:first-child::after {
content: var(--topic6);
}


Permalink Report Reply

Reply by milesofstars

posted
updated

thank you so much!! i tried this code instead and the text showed up but using inspect on the actual page i realised it was inheriting colour from "--logo-blue", and adding code that said:

.details-table td:first-child{
color:rgb(246, 211, 147);
}

seemed to fix it!


Permalink Report Reply

Reply by ▪︎ zaltzie ▪︎

posted

hi i'm new to spacehey and kinda bad at html, but i'm also having the same problem where other ppl can't see my edited interests table. i tried pasting in sudofry's code, but that only made the text disappear completely.

if u don't mind, can you show me the full code that you are using for your interest table, because your custom interests seem to be working well.

thanks!


Permalink Report Reply

Reply by milesofstars

posted

-> to Zaltzie

> im pretty sure this is the right part of the code i use:

.details-table td:first-child{
color:rgb(246, 211, 147);
}

.table, th, td {

  border: 0px solid;
     }

.table-section:not(:last-child) .details-table tr td:first-child p{color:transparent !important;text-shadow: none !important;letter-spacing: -100px;}

.details-table tr td:first-child p::after{
   color:white !important;
   letter-spacing:normal !important;
   text-shadow: 2px 2px black !important;
   filter: brightness(95%) !important;
}

.details-table tr:nth-child(1) td:first-child p:first-child {
    display: none;
}

.details-table tr:nth-child(1) td:first-child::after {
    content: var(--topic1);
}

.details-table tr:nth-child(2) td:first-child p:first-child {
    display: none;
}

.details-table tr:nth-child(2) td:first-child::after {
    content: var(--topic2);
}

.details-table tr:nth-child(3) td:first-child p:first-child {
    display: none;
}

.details-table tr:nth-child(3) td:first-child::after {
    content: var(--topic3);
}

.details-table tr:nth-child(4) td:first-child p:first-child {
    display: none;
}

.details-table tr:nth-child(4) td:first-child::after {
    content: var(--topic4);
}

.details-table tr:nth-child(5) td:first-child p:first-child {
    display: none;
}

.details-table tr:nth-child(5) td:first-child::after {
    content: var(--topic5);
}

.details-table tr:nth-child(6) td:first-child p:first-child {
    display: none;
}

.details-table tr:nth-child(6) td:first-child::after {
    content: var(--topic6);
}


> you also need to add the topics into the root, mine looks like this:

:root {
  --logo-blue:rgba(0,0,0,0.4);
  --darker-blue:white;
  --lighter-blue:rgba(0,0,0,0.4);
  --even-lighter-blue:rgba(0,0,0,0.0);
  --lightest-blue:rgb(0,0,0,0.0);
  --dark-orange:rgb(246, 211, 147);
  --light-orange:rgba(0,0,0,0.0);
  --even-lighter-orange:rgba(0,0,0,0.0);
  --green:rgb(246, 211, 147);
  --topic1: "random things i like";
  --topic2: "music taste";
  --topic3: "visual media";
  --topic4: "books and comics";
  --topic5: "games";
  --topic6: "(main) kinlist";

}

> you can swap out the topic titles, text settings, sizes and colours however you want! i havent really done any coding for a few months so if theres something i missed i apologise! (text is italics to easily separate from the code)


Permalink Report Reply

Reply by ▪︎ zaltzie ▪︎

posted

omg tysm! it works now - not really sure how it works though (or why it wasn't working in the first place) but ig that doesn't matter lmao


Permalink Report Reply

Reply by ME

posted

Thank u so much for sharing! But mine still didn't work... does anyone have code I can use :(((


Permalink Report Reply