Posted by Custom Cave Images - help

Tirrathee πŸ‹πŸŒŒ
[PFM] (#58785)

Prince
View Forum Posts


Posted on
2017-10-22 14:57:11
I'm trying to figure out a way to customize the cave thumbnails on my profile as well as the backgrounds of featured lions in individual caves. I'm reasonalby sure I've seen such gimmicks on some people's profiles, and am curious as to how to achieve that if the divs containing images themselves don't have classes.

Thanks for any tips!

(Also, if you're visiting my den, I'd appreciate feedback on whether texts and links are readable and everything loads smoothly and efficiently.)



Hrt Icon 0 players like this post! Like?

🌳 Dad 🌳 (#22988)


View Forum Posts


Posted on
2017-10-24 09:18:18
Please note this will change all of the cave images including the pregnant lioness/unsorted options.

/* Code by Dad #22988. You may not: Charge extra for this code when selling CSS or use without crediting the creator (Dad). */

.cave-grid {
background: #HEXCODE;
border: 1px solid #000000;
border-radius: 5px;
max-width: 260px;
max-height: 130px;
overflow: hidden;
padding-bottom: 10px;
margin: none;
}

.cave-grid img {
display: inline-block;
-moz-box-sizing: inherit;
box-sizing: inherit;
background: url(IMG URL) no-repeat;
width: #px; /* Width of new image */
height: #px; /* Height of new image */
padding-left: #px; /* Equal to Width of Image */
margin-bottom: 5px;
}



Hrt Icon 0 players like this post! Like?







Memory Used: 623.86 KB - Queries: 1 - Query Time: 0.00071 - Total Time: 0.00431s