Jump to content

Spoiler with Image?

Featured Replies

Posted

Is there any way to make a image a spoiler? Like so when you click an image it shows other images?

That is not an out of the box capability, although you could probably edit the language strings for spoilers to use an image instead of the text 'Spoiler'. It may not look quite perfect without some further CSS adjustments, however.

If u want for all spoiler u can edit css (or make a custom rule in custom css) to style ipsSpoiler_header:

<div class="ipsSpoiler_header">
<span>Spoiler</span>
</div>

 

eg, something like this:

.ipsSpoiler_header {
  	/* set image */
    background: rgba(, , , 1) url("http(s)://miwebsite.**//myimage.jpg") no-repeat fixed center center !important;
  	/* text as transparent */
  	color: transparent;
}
  • Author

Well all of the other spoilers are fine I just want to use it as a one time type of thing. 

if u are admin (i hope) u can edit just one by html source editor and put in this a style='background...'

or make a custom id+css and use still by html source).

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.