1 |
|
---|---|
Posted by | How to make a cave CSS? |
Dumpy (#29043) Lone Wanderer View Forum Posts Posted on 2019-02-04 22:00:47 |
How to a make my own cave CSS? is there like a tutorial or something someone can link to me? Also, how can i change the "cave slot" pictures? I've seen others do it but i can't really find a tutorial on it? Thanks <3 0 players like this post! Like? |
Moomin 🌦️ (#126875)
View Forum Posts Posted on 2019-02-05 00:27:55 |
This is an excellent CSS guide! :^D As far as replacing the images, I'll walk through how I did it for my den: /*IMAGE REPLACERS*/ This replaces the "unsorted lions" image! Just put your cave's unsorted lions url ID in replace of the 000 above, and your image url in the indicated slot. This is pretty much how the rest will be done as well! div.cave-grid > img {content: url('IMAGE URL HERE')!important;} This will replace the "pregnant lionesses" image! Same deal here, just no url ID needed. a[href$="lionoverview.php?id=000"] > div.cave-grid > img {content: url('IMAGE URL HERE')!important;} This replaces the "pride overview" image! Same deal as the first, url ID and image url. a[href$="000"] > div.cave-grid > img {content: url('IMAGE URL HERE')!important;} This is for each individual cave (copy/paste and edit the url ID and wanted image for each)! Same basic principle, just formatted a touch differently. div.mound-grid > img {content: url('IMAGE URL HERE')!important;} If you want to, these codes will edit the "unsorted beetles" image (above) and individual beetle mounds (below) in the same fashion! 5 players like this post! Like? |
Sparkling Water (#171778)
Hateful View Forum Posts Posted on 2019-04-08 14:52:27 |
@Moomin This was really helpful ^^ I was also looking for how to do the cave CSS and you explained it super well :D 0 players like this post! Like? |
AmythestMoon (#158147)
Usual View Forum Posts Posted on 2019-04-14 11:50:28 |
Satan (#166494)
Divine View Forum Posts Posted on 2019-06-10 23:25:32 |
Hey i was wanting to draw my own pictures for the cave images but i dont know what size it needs to be to fit. can someone help me? also im not sure where im supposed to put the url xD 0 players like this post! Like? Edited on 10/06/19 @ 23:48:20 by Katnip (#166494) |
SquidKitties (#137582)
Impeccable View Forum Posts Posted on 2019-06-14 21:39:56 |
@Katnip Regular cave images are 240x120 Unsorted, nesting and overview banners are 260x60 Beetle mounds are 130x80 0 players like this post! Like? |
Satan (#166494)
Divine View Forum Posts Posted on 2019-06-14 21:42:51 |
@Jimmie okay thanks btw do i put the link in the territory description or is there somewhere else? 0 players like this post! Like? |
SquidKitties (#137582)
Impeccable View Forum Posts Posted on 2019-06-14 21:46:11 |
The link goes in the territory description. Here's a guide I use: https://www.lioden.com/topic.php?id=304429355088 0 players like this post! Like? |
Satan (#166494)
Divine View Forum Posts Posted on 2019-06-14 21:48:08 |
Satan (#166494)
Divine View Forum Posts Posted on 2019-06-16 03:24:28 |
its not working ;_; can someone tell me what im doing wrong? code: (btw im trying to customise my cave banner) a[href$="https://www.lioden.com/cave.php?id=108146"] > div.cave-grid > img {content: url('https://imgur.com/VuTzV94')!important;} 0 players like this post! Like? |
Charlotte [Dirty Incubus] (#195177) Fearsome View Forum Posts Posted on 2020-04-05 18:20:03 |
Holy this is old! Your supposed to put .png at the end of https://imgur.com/VuTzV94 Like this: https://imgur.com/VuTzV94.png Try that, it should work ^^; 0 players like this post! Like? |
WillowDragonet (#255219)
Maneater View Forum Posts Posted on 2022-02-27 15:28:00 |
CroissantQueen (#422121)
Total Chad View Forum Posts Posted on 2023-03-22 12:21:30 |
@moomin do we put this in the den description or the cave description? 0 players like this post! Like? |
1 |
---|