Jump to content
WebFlake
  • 0

Saved Actions Not Working Properly


Head Guru

Question

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 Jeffrey

Head 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

  • 0
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>

 

HTML.thumb.png.a5e04bebe7fa2745d420fe99ec181f85.png

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

  • Thanks 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0
  • Administrator

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>

 

  • Thanks 1
Link to comment
Share on other sites

  • 0
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>

 

HTML.thumb.png.a5e04bebe7fa2745d420fe99ec181f85.png

Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com
 

Link to comment
Share on other sites

  • 0
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

  • 0
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

Guest
This topic is now closed to further replies.
×
×
  • Create New...