Head Guru Posted January 28, 2019 Share Posted January 28, 2019 (edited) I had this working before on my old forum, but for some reason it is not working on my new forum and I can't figure out what is wrong. I have created the Saved Actions. And add the code to the custom.css (as below) /* The closed message box */ .closed { margin-top: 30px; margin-left: 30px; padding: 20px; background-color: #880E4F; /* Purple */ color: white; margin-bottom: 15px; font-family: tahoma; font-size: 14px; } /* End closed message box */ When I use the action it shows the message from the Saved Action settings but doesn't add the css coding background or anything. I am not sure what I have done wrong. Edited January 29, 2019 by Jeffrey Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com Link to comment Share on other sites More sharing options...
0 Cookie Monster Posted January 29, 2019 Share Posted January 29, 2019 36 minutes ago, IamKangy said: Arh. Problem is now it shows this in the topic as the reply <div class="closed"> Topic Closed: This topic has been Closed by a Moderator or Administrator. If you feel this was closed in error please PM a Moderator. </div> You need to allow the person or group that can post it to post it as HTML and ahve access to write HTML. Click on SOURCE then paste it to redo it 1 Liked what i posted remember to feed me a cookie ->Or you can add a cookie to my Link to comment Share on other sites More sharing options...
0 Administrator Tony Posted January 29, 2019 Administrator Share Posted January 29, 2019 Without seeing the HTML you're using, we can't tell you what the issue is. What I can tell you, is that your HTML shouldn't be complicated. Just wrap your text in a div and assign the class. <div class="closed"> Your text here. </div> 1 Link to comment Share on other sites More sharing options...
0 Head Guru Posted January 29, 2019 Author Share Posted January 29, 2019 2 hours ago, Davlin said: Without seeing the HTML you're using, we can't tell you what the issue is. What I can tell you, is that your HTML shouldn't be complicated. Just wrap your text in a div and assign the class. <div class="closed"> Your text here. </div> Arh. Problem is now it shows this in the topic as the reply <div class="closed"> Topic Closed: This topic has been Closed by a Moderator or Administrator. If you feel this was closed in error please PM a Moderator. </div> Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com Link to comment Share on other sites More sharing options...
0 Head Guru Posted January 29, 2019 Author Share Posted January 29, 2019 5 minutes ago, Cookie Monster said: You need to allow the person or group that can post it to post it as HTML and ahve access to write HTML. Click on SOURCE then paste it to redo it I am posting it as an Administrator and that allows HTML already @Cookie Monster I feel like a fool. I posted the div code in as text and not in the Source. It is working now. Thank you Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com Link to comment Share on other sites More sharing options...
0 Jeffrey Posted January 29, 2019 Share Posted January 29, 2019 The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic. Support Team - September 9th, 2017 - June 8, 2018 Junior Moderator - December 14th 2018 - November 16th, 2019 Designer - November 16th, 2019 - June 5th, 2020 Moderator - June 5th, 2020 - August 28th, 2020 Link to comment Share on other sites More sharing options...
Question
Head Guru
I had this working before on my old forum, but for some reason it is not working on my new forum and I can't figure out what is wrong.
I have created the Saved Actions. And add the code to the custom.css (as below)
/* The closed message box */ .closed { margin-top: 30px; margin-left: 30px; padding: 20px; background-color: #880E4F; /* Purple */ color: white; margin-bottom: 15px; font-family: tahoma; font-size: 14px; } /* End closed message box */When I use the action it shows the message from the Saved Action settings but doesn't add the css coding background or anything. I am not sure what I have done wrong.
Edited by JeffreyHead Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com
Link to comment
Share on other sites
5 answers to this question
Recommended Posts