Spoiler error

fijea at 17h46
18
Sep
2011
Hi,

idk since when but my spoilers are auto-open each time I visit that page..
maybe something wrong with the CSS?
Code:
.spoiler_closed {
   display:block;
   font-family: Verdana,Arial,Helvetica,sans-serif;
   font-size: 11px;
   color: #d9d9d9;
   line-height: 100%;
   background-color: #292929;
   border: #000000;
   border-style: solid;
   border-left-width: 1px;
   border-top-width: 1px;
   border-right-width: 1px;
   border-bottom-width: 1px;
   }
.spoiler_closed.hidden {
   display:none;
   }
.spoiler_content {
   display:block;
   font-family: Verdana,Arial,Helvetica,sans-serif;
   font-size: 11px;
   color: #d9d9d9;
   line-height: 100%;
   background-color: #292929;
   border: #000000;
   border-style: solid;
   border-left-width: 1px;
   border-top-width: 1px;
   border-right-width: 1px;
   border-bottom-width: 1px;
   }
.spoiler_content.hidden {
   display:none;
   }


and is it possible to make it rounded? :p
1 ankillien, on 18/09/2011 at 18h15
Hi,

May I have a link to any topic on your forum which has spoiler in it?
2 fijea, on 18/09/2011 at 18h22
here you go - http://bit.ly/qurOMl

also the text is invisible..how could I change that?
thank you Smile
3 ankillien, on 18/09/2011 at 18h36
Thanks for the link Smile

You can fix the bug by adding the following code in Admin CP > Display > Colors > CSS

Code:
.codebox dt {
color: #333;
}
.spoiler_content {
display: none;
}
.hidden {
display: block !important;
}
4 fijea, on 18/09/2011 at 21h38
thanks ankillien!

but it's still not working Sad


EDIT:
also by adding the codes I'm unable to click on the spoiler (it's unable to close it)
so I removed the
Code:
.spoiler_content {
display: none;
}
.hidden {
display: block !important;
}

and it's clickable now but still it's auto open..
5 ankillien, on 19/09/2011 at 03h51
It must work. Make sure you add the codes after all other codes that are already there...

Code:
.spoiler_content {
display: none !important;
}
.hidden {
display: block !important;
}
6 fijea, on 19/09/2011 at 04h01
ahh yes..the thing is I put the codes on the top of my css.. Razz
thank you!

and how to make it rounded then?
I think it'll look better..
7 ankillien, on 19/09/2011 at 04h11
This is the code for rounded corners..

Code:
.spoiler {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
8 fijea, on 19/09/2011 at 11h20
thanks man! marked as solved! Very Happy
9 Nera., on 19/09/2011 at 11h24
Solved > Locked
Similar topics
My problem is I bought a domain and installed phpbb3 and I want to create the spoiler code but not sure what the code is. Spoiler: Like this Ankillien told you By the way off topic what does your name mean and how do you pronounce it/
Hello, I am just wondering why Code, Quote and Spoiler has no any border, colors, background. I think its for phpbb3 only. Some of forums that are using phpbb3 has problems with
Since about last week whenever i run the "search new for new movies" function, none of the newly added movies get scraped. and when i try to manually re scrape and get an error message - "error encountered at stage 16" ?
Replies 1 to 9 on 9 for "Spoiler error"
See also
more_less
Informations

9 Replies For the topic :
"Spoiler error"

This topic has been viewed 673 times.

Last message :
18/09/2011 at 17h46 by "fijea"