Replies

Sep 6, 2018 7 years ago
LuckyClover
has a massive family
User Avatar
Casserole

Hi, so is possible to show all the food your pets have eaten and books they have read on a custom profile? I see people put food and books in their treasure but I was wondering if there was a way to link that collection to the profile (like just a link, nothing fancy) to show on the profile? As of right now I have the links appear on the custom profile's I've been working on but the links aren't clickable and wont take you to show the food/books vs the links do work for a none edited pets profile.

I really hope that made sense? Sorry...

Sep 6, 2018 7 years ago
Weasel
is the sole survivor
User Avatar

@/Cas - If I'm understanding the problem correctly, it's the coding that gets rid of some elements of the stats section that also kills the links, as it uses "a" (refers to links) as a selector. I had to change the code (had referenced one of the pinned help threads) to keep them.

If you check my pet

Hellblazer to make sure that matches what you need I can look through the code to find out what edits I made next time I'm on the PC.

[Edit] Had a quick look and I'm pretty sure it's the code that removes the "disable weapons showing" bit, it needs to be made more specific (so it doesn't kill the other links too), or at least it was on my page.

Overlay recolours/edits here (closed to new orders)
August ToT item group - if links are glitched use buttons on profile [tot=weasel] • [egg=weasel] • [tp=weasel]

Sep 6, 2018 7 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

so what you'll want to do is make sure the stats section (column_3) is visible, and position it where you want. if you don't want any other stats visible besides the food & books, add this to your code:

, , , , , , , {display: none} you probably also have something like a {display: none} somewhere in there, which is why the food & books links aren't showing up. that's fine, because you're going to override it with the following:

a, a {display: inline} now they should be visible! for example, on my pet frosix's you can see i only have the books read and pet employment links visible, and i've also removed the hp statbar because i find it redundant with the health statbar.

Sep 7, 2018 7 years ago
LuckyClover
has a massive family
User Avatar
Casserole

Yes that was exactly what I was looking for. I think Frenchi solved it below your post though, thank you!

Omg it worked! Thank you so much!!! I didn't even realize that was missing. I'm glad now I can get back to working on making the profiles pretty now that detail is down haha

Sep 7, 2018 7 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

glad to help! i'm sure there's a "better" more specific way to target the "enable weapons showing" link but i was too lazy to figure it out so i just used a hacky workaround and since it only takes up one line of code i figured, you know, good enough :P

Sep 7, 2018 7 years ago
Weasel
is the sole survivor
User Avatar

- Sorry I didn't get back to you sooner, glad Frenchi managed to help you out.

- If it's of any use, the code I went with to target just the "disable weapons showing" link was this:

a:nth-child(5){display: none;}

Overlay recolours/edits here (closed to new orders)
August ToT item group - if links are glitched use buttons on profile [tot=weasel] • [egg=weasel] • [tp=weasel]

Sep 7, 2018 7 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

yeah see i always forget how the nth-child thing works lmao

Sep 8, 2018 7 years ago
Weasel
is the sole survivor
User Avatar

- To be honest, I have very little clue myself. Still a complete novice at CSS, and rather than doing the sensible thing of learning it "properly", I just end up trial and erroring my way through things by checking W3schools, google and the inspect tool the whole time.

Overlay recolours/edits here (closed to new orders)
August ToT item group - if links are glitched use buttons on profile [tot=weasel] • [egg=weasel] • [tp=weasel]

Please log in to reply to this topic.