Not Solved Spoiler Help
#1
Not Solved
This user has been denied support. This user has been denied support.
ok so i am trying to add this to my forum but its not working
I am not sure on how to do the css part where do i put it


Add this to your themes additional css:

Code:
a.spoiler, a.spoiler:visited, a.spoiler:active, a.spoiler:hover {color:#000; background:#fff; border: 1px dotted #ccc; text-decoration:none;}
a.spoiler span {display:none;}
a.spoiler:hover {border: 1px dotted #cc;}
a.spoiler:hover span {display:inline; font-weight:normal;}

Then create a new custom mycode inside admincp.

Regular Expression:
Code:
\[spoiler\](.*?)\[/spoiler\]

Replacement:
Code:
<a href="#" class="spoiler">Spoiler: <span>$1</span></a>
Reply
#2
Not Solved
put above given css part at the bottom of global.css through admin panel & save the stylesheet

admin panel --> themes --> current theme --> global.css --> Edit Stylesheet: Advanced Mode
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)