Forums

Trouble with color coding (4 posts)

  1. Protector
    Member
    Posted 4 years ago #

    You know the tags <span style="color: #9c9d97;"></span> right? Well whenever the other writers on my blog use it and press Save the "color" part disappears and it goes to <span style="#9c9d97;"></span>. And then no coloring happens.

    However if I go after them and edit that it saves just fine for me, waht could their problem be with? Thank you.

  2. miloandrew
    Member
    Posted 4 years ago #

    Try using <span class="mycolor"></span>

    and then in the css add:

    .mycolor {
    color:#9c9d97;
    }

    That may work a lot better. Inline style specifications are funky and could be getting overwritten during page refreshes by the css.

    Since I don't have more info on where you are using the span (are you talking about comments?), don't know the exact process that causes this problem I can't tell for sure, but the change is worth a try.

  3. Protector
    Member
    Posted 4 years ago #

    Thank you very much, man, I'll get to try this. I was talking about posting a new entry/article from the authors on my blog. The moment they click on save it screws up the code for them.

  4. miloandrew
    Member
    Posted 4 years ago #

    OK, let us know how it works!

    One question though - where are you putting the original <span style="color: #9c9d97;"></span> code? If I understand what you are saying, you have users on your blog with an Author role, and when they make a new post to the blog, this code is messed up.

    Where is the code being messed up?

    I don't understand where you have put the code originally, and then subsequently, WHERE the code is getting messed up (is it in the post itself), is it in the theme, etc?

    Sorry, just hard to visualize what is going on... :)

Topic Closed

This topic has been closed to new replies.

About this Topic