XF 1.5 Spoiler Button

Ben44

Active member
Hi all,
Is there anyway to hide the Spoiler Button and just have a Spoiler Link?


Thanks in advance for any replys.

Ben
 

Ben44

Active member
To show what I mean, I would like the bottom text as a Spoiler and not the box around it.

2016-10-06_14-54-24.jpg
 

Ben44

Active member
You could override the CSS to remove the button styling.
Can you explain how to do this please Brogan?

OK, I found the css to edit. Thanks for pointing me in the right direction.
 
Last edited:

Ben44

Active member
While this does in fact allow me to take away the buttion it does it for all buttons. Anyone know a bit of code I can add to something like the EXTRA.css that will only hide the button for the Spoiler?

Thanks again
 

Steve F

Well-known member
This will work, you can adjust the font-size if need be.

Code:
.bbCodeSpoilerButton {
    font-weight: bold;
    font-size: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.bbCodeSpoilerButton:hover {
    background: transparent;
}
 
Top