We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Styling The Strikethough BBCode
Topic Started: Dec 6 2017, 09:51 PM (120 Views)
fnuppage
Member
[ *  *  *  * ]
I am looking for a way to change the color of the Strikethrough BBCode as sometimes the strikethrough is not as obvious as it might be

E.G. Example would be clearer if the line through the word was a differen color perhaps the color used for posted urls etc so that it stands out more. Is this possible?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
del {
color: #HEX;
}
Add that to your CSS for the color you want to give the line.
Code:
 
<script type="text/javascript">
//<![CDATA[
$('del').wrapInner('<span style="color: #HEX"></span>');
//]]>
</script>
Add that to the bottom of the Theme Layout for the color you want to give the text.

Change #HEX as necessary.
Offline Profile Goto Top
 
fnuppage
Member
[ *  *  *  * ]
Brilliant, works better than expected, thank you
Offline Profile Goto Top
 
Jonathan
Member Avatar


Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic