Posted by Help- Can't change Cave Images with CSS?

Zero (#146910)

Heavenly
View Forum Posts


Posted on
2020-09-14 20:37:04
Hey,
So I couldn't find a recent answer to this and was wondering if it's still working.

I have a .css linked through dropbox as (minus the &)

<&link rel="stylesheet" type="text/css" href="https://dl.dropbox.com/s/9x8kxxoftvpioxv/nextsmall.css?dl=0" />

the contents of the css is (minus the &)

a[href&="139547"]>div.cave-grid>img {
content: url('https://i.postimg.cc/kMsDMhyW/maternityden.png')!important;
}


Yet it won't show the replaced image. I tried it with and without my overall theme and even tried adding it into the existing theme's css at one point.

Is there something really stupid I'm doing wrong, and would someone be so kind as to point it out? I've been messing with it for over a week and it's bugging me like crazy.

Thanks
C



Hrt Icon 0 players like this post! Like?

bubbaloo | G3 (#38122)

Dreamboat of Ladies
View Forum Posts


Posted on
2020-09-18 21:59:29
i found out this and am trying messing about with it, seems to work, check it out:

.featured-lion>div>img {
content:url('ImageUrlHere.png')!important;
}


your way doesnt work with me either, but i cant quite put my finger on why, maybe because it needs a featured lion? because your way only changes the cave-grid so if there is a featured lion it maybe overrides it



Hrt Icon 1 player likes this post! Like?

Zero (#146910)

Heavenly
View Forum Posts


Posted on
2020-09-20 20:48:08
Thanks for the reply! I tried it, but couldn't get that to work.
Am I supposed to put the css with that in the cave itself or the den?
I'm trying to change these images here-

snippe.png



Hrt Icon 0 players like this post! Like?

bubbaloo | G3 (#38122)

Dreamboat of Ladies
View Forum Posts


Posted on
2020-09-21 16:29:05
omg!

i thought you were talking about the featured lion img inside the cave. sorry.

i think this code should help your ploblem:
adding cave.php?id= before the number of your den
in your case:

a[href="cave.php?id=139547"]>.cave-grid>img {
content: url('https://i.postimg.cc/kMsDMhyW/maternityden.png')!important;
}





Hrt Icon 2 players like this post! Like?

Cardinal Copia (#327335)

Gorgeous
View Forum Posts


Posted on
2023-02-02 05:28:38
Bubbaloo can you explain how to use the code for the inner cave image? I tried using it but just cant get it to work.



Hrt Icon 0 players like this post! Like?

Hok-Z|Hiatus (#41458)


View Forum Posts


Posted on
2023-02-03 08:57:43
Here, check this and see if this helps?
CSS FAQ



Hrt Icon 0 players like this post! Like?







Memory Used: 621.41 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00385s