Please or Register to create posts and topics.

How to change the color of the cancel button?

I have No way to do this in the acp, is there a way to change it?

Uploaded files:
  • cats.jpg
Quote from hillbillybonez on February 19, 2017, 2:28 am

I have No way to do this in the acp, is there a way to change it?

Hello, here /wp-content/plugins/asgaros-forum/skin/style.css

#af-wrapper .editor-row .cancel, #af-wrapper .editor-row .cancel-back {
    color: white;
    border: 1px solid #f91111;
    background-color: #ff5454;
    padding: 3px 6px;
    margin: 2px 0 !important;
    vertical-align: middle;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: initial;
    text-shadow: initial;
    display: block;
    text-align: center;
}

color: white;
border: 1px solid #f91111;
background-color: #ff5454;

Hello,

just use the code from Yworld and put it in your themes style.css file so it will not get overwritten in the next update. 🙂

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

thanks, I tried and failed, it still shows red. I even F5 cleared it.

Your CSS is looking fine for me (you set it to a white background). Are you sure that it is not inside a cache?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Quote from Asgaros on February 19, 2017, 10:24 pm

Your CSS is looking fine for me (you set it to a white background). Are you sure that it is not inside a cache?

sorry I am confused as to what you are asking.

I saw that you made color-changes (white background) to the button in the CSS-file, so it is definitely there. It seems that an old version of the file is still in your cache.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!