|
|
---|---|
Posted by | ✦•Pandora and Kat's CSS Codes•✦ |
Pandora (#144118) View Forum Posts Posted on 2022-03-28 22:47:40 |
✦•Pandora and Kat's CSS Codes•✦ WELCOME! CODES RESTORE OLD PLAYER BOX Q&A/RULES
12 players like this post! Like? Edited on 14/03/24 @ 19:34:27 by Pandora (#144118) |
Hamlet's Ilk (#269146)
King of the Jungle View Forum Posts Posted on 2022-04-18 23:15:27 |
Hate to be a bother again. But I'm stuck with how to get the png to replace the cave image of the featured lion. Do I just take a screen shot and size it and use that? I think I'm just confused how the different links for the background and separate decor is. I apologize 0 players like this post! Like? |
Pandora (#144118)
View Forum Posts Posted on 2022-04-18 23:38:09 |
No worries, we're more than happy to help where we can! To change the background for the featured lion I recommend the wiki if you're looking for Lioden backgrounds! You can just copy and paste the imageURL to where it says "IMAGEURL" in the content: url('IMAGEURL')!important; part ! If you're using a non-lioden image I recommend first uploading it to Imgur and just like before, copy and paste where it says 'IMAGEURL' For reference here's what mine looks like! And just make sure if you are using a non-lioden image that the dimensions are more or less the same dimensions, being 640x500px! 0 players like this post! Like? |
Hamlet's Ilk (#269146)
King of the Jungle View Forum Posts Posted on 2022-04-18 23:47:15 |
Are we able to make a different lion on each cave? Or will it all be the same lion? 0 players like this post! Like? |
Kat .:Red Lion of Voltron:. (#94329) Amiable View Forum Posts Posted on 2022-04-19 00:02:22 |
I'm going to add on to Pandora's reply a bit ^^ I'm assuming you're looking to add the decor and background your featured lion already has on. For the background, there is the way that Pandora noted, but for the decor it's a little different. I see that you have a decor piece that's supposed to go under/below the lion. If that's the case, the img:first-child styling needs to be a little different. To keep that decor under you lion, you'll need to use this CSS - .lionImage>div>img:first-child {(Hopefully I put it in the right order ;^^) As for the decor, unfortunately you aren't able to find the transparent images of decor on the wiki, at least not that I've seen. What you'll need to do it right click your lions image, and click the "Inspect" option. This will open up a menu, of sorts, with code and other things. You'll notice when you hover over some code, it highlights where that code is on the page. You'll only need to be looking at the code which highlights your lion's image. Scroll up in the HTML code window, the one where when you scroll over it highlights part of the page, until you find your first decor item that goes over you lion, which is this one (Notice how the image of the transparent decor is showing up in my image. This happens when I scroll over the image link in the HTML and is an easy way for you to find which link goes to what decor) You'll need that source link, the "//static.lioden.com/images/decors/teenmale/over/rainbowflowerornaments.png," for when you're adding the decor to your lion. To get the link, you can either double tap it, right click and open it in a new tab, or click the 3 dots to the left of the code and click the "edit as HTML" option. Keep in mind, though, that when you lion ages into an adult, you'll need to change the decor into it's adult form unfortunately. For your new question, it will all be the same decor and background you put on the lion, but not the same lion. That is unless you take a screenshot of a lion and use that as your cave background, then it will show up in all caves. Hopefully that makes sense? ;^^ You will need to make separate CSS sheet's for each separate featured lion in each cave unfortunately. It definitely is a little complex for people who are still a little new at CSS, so don't hesitate to come back and ask question if you need it! ^^ Pandora and I also have examples of the feature lion code working in our caves! Mine is here and Pandora's is here! You can inspect the images and try and learn how the code works through inspect, but of course you're still able to drop by and ask question if you prefer and/or need it! ^^ Maybe we should make a video helping to explain how that coding works so people aren't so confused with it ;^^ I'll bring the idea up with Pandora and see what she thinks would be best! 0 players like this post! Like? Edited on 19/04/22 @ 00:09:11 by Kat .:Red Lion of Voltron:. (#94329) |
Hamlet's Ilk (#269146)
King of the Jungle View Forum Posts Posted on 2022-04-19 00:10:54 |
Okay. Since I am so new to Css I've created my chosen featured lion, did a screen shot and have it set as a background image. I'll add a link in the details of each cave linking to the "featured" lion. I will go ahead and make CSS codes for each chosen lion. I've used the inspect, but I am so afraid to break codes Thank you so much. I may attempt this more complex method on my other account as a test run. This means a lot, thank you so much. I feel much more confident navigating the CSS code now 0 players like this post! Like? |
Kat .:Red Lion of Voltron:. (#94329) Amiable View Forum Posts Posted on 2022-04-19 00:18:05 |
You don't need to worry about breaking any code in the "Inspect" tab ^^ If you do anything with the coding in the "Inspect" tab and it messes with things, all you need to do is refresh the page and it will reset everything you've done in the "Inspect" tab I find it to be easier testing in the "Inspect" tab rather than testing in the CSS sheet and having to save and refresh until the CSS maybe shows up on the page I'm working on, but I understand it can be daunting at first! If you need even more in depth explanation on how the coding works, or more clarification on things, we're always around to break down every little thing for you and try to help you better understand it! ^^ I assure you, it may seem very complicated, but once you get even a little understanding of how the code works, things become much easier! 0 players like this post! Like? Edited on 19/04/22 @ 00:18:58 by Kat .:Red Lion of Voltron:. (#94329) |
𝐍𝐢𝐫𝐯𝐚 𝐧𝐚 (#244516) View Forum Posts Posted on 2022-04-22 08:48:03 |
Could you show how to make boxes/tables in the main den page? I have some gb I could pay. I just don't know where to start on the code I made a topic about what I'm looking for; here's the link https://www.lioden.com/topic.php?id=304429450615 If you could, that would be amazing! 0 players like this post! Like? |
Kiosko (#262066)
Toxic View Forum Posts Posted on 2022-04-22 11:58:22 |
Kat .:Red Lion of Voltron:. (#94329) Amiable View Forum Posts Posted on 2022-04-22 13:31:41 |
@Peach - Hopefully this is what you were sort of after?? I can make the smaller boxes extend too if you'd like! Also, no need for payment Just glad I can help out!! Make sure you credit Katie though as, I believe, she is the person who created the CSS and HTML for those boxes. Correct me if I'm wrong though, I'm not sure ;^^ HTML - CSS - @Kiosko - I'm not too sure... I'll need to speak with Pandora about it; and if Pandora isn't sure either, we'll try some testing. Just thinking about it now, though, I don't think that's possible. If you have seen people doing it, I think they might be writing in their own CSS to make something similar to a spoiler button. Again, though, just off the top of my head that's what I would come up with. Hopefully that makes sense ;^^ 0 players like this post! Like? Edited on 22/04/22 @ 13:39:19 by Kat .:Red Lion of Voltron:. (#94329) |
𝐍𝐢𝐫𝐯𝐚 𝐧𝐚 (#244516) View Forum Posts Posted on 2022-04-22 13:36:54 |
Kat .:Red Lion of Voltron:. (#94329) Amiable View Forum Posts Posted on 2022-04-22 13:38:22 |
𝐍𝐢𝐫𝐯𝐚 𝐧𝐚 (#244516) View Forum Posts Posted on 2022-04-22 13:45:46 |
Kiosko (#262066)
Toxic View Forum Posts Posted on 2022-04-22 13:46:16 |
@Kat Yeah, I get it! Thanks for your time! I've seen some threads on the topics, and people getting help for it, but they never include their HTML or a solution. 0 players like this post! Like? |
Kat .:Red Lion of Voltron:. (#94329) Amiable View Forum Posts Posted on 2022-04-22 14:18:49 |
Sorry for the late reply guys ;^^ Went to go get some food lol @Peach - It should work as is. Is something not working correctly?? @Kiosko - Oh, I see :Oc Have you seen anyone doing what you're hoping to do though? If you have, you can right click and inspect the page HTML and CSS to see what they've done to get it to work; or, if you're not sure how to read that sort of stuff, I can help you figure it out from there ^^ If you haven't, though, I'll see if I can work out something with Pandora! 0 players like this post! Like? |
𝐍𝐢𝐫𝐯𝐚 𝐧𝐚 (#244516) View Forum Posts Posted on 2022-04-22 14:20:32 |
I've run into a bit of a problem. [This is the large box code] It won't work in my den, so I found a css fixer, but now it's telling me that I have an RBRACE error at line 2 col 1. I can't understand what I need to do to fix it. What do you think happened? Here's my code: .dissolveAbout { A0A3CB; width: 797.5px; height: 150px; overflow: hidden; transition: .5s ease!important; background-color: A0A3CB; border: #9094C0; border-radius: #9094C0; } .dissolveAbout:hover { height: auto; transition: .5s ease; max-height: 300px; min-height: 150px; } .dissolveAboutTop { width: 797.5px; position: absolute; font-size: 45px; z-index: 99; line-height: 140px; margin: auto; margin-left: -10px; text-transform: uppercase; transition: .9s ease; color: #6D717C; } .dissolveAbout:hover .dissolveAboutTop { font-size: 0px; transition: .9s ease; } .dissolveAboutBottom { margin: 0; position: relative; width: 775.5px; height: auto; max-height: 295px; min-height: 140px; margin-top: -500px; z-index: 100; transition: .9s ease; padding: 5px; background-color: A0A3CB; text-align: justify; color: A0A3CB; overflow-y: auto; scrollbar-gutter: stable both-edges; } .dissolveAbout:hover .dissolveAboutBottom { margin-top: 0px; top: 0; transition: .9s ease; } .dissolveAboutBottom::-webkit-scrollbar { width: 5px; } .dissolveAboutBottom::-webkit-scrollbar-track { background: transparent; border-radius: 5px; } .dissolveAboutBottom::-webkit-scrollbar-thumb { background: A0A3CB; border-radius: 5px; } .dissolveAboutBottom::-webkit-scrollbar-thumb:hover { background: #555; } 0 players like this post! Like? |