Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

how to remove the inline-style after i edited a post?

Best Answers

  • x00x00 MVP
    Answer ✓

    this is the ajax yellow fade effect, which used to be popular about 5 years ago.

    I take it it fades away? if not you have a javascript conflict.

    You don't have to remove it from the code, instead override it.

    in youtrteme/design/custom.css

    .ItemComment.Alt{
       background-color: transparent!important;
    }
    
    .ItemComment.Mine{
       background-color: transparent!important;
    }
    
    .ItemComment.Item{
       background-color: transparent!important;
    }
    

    change each to applicable colours for your theme.

    grep is your friend.

Answers

  • x00x00 MVP
    Answer ✓

    this is the ajax yellow fade effect, which used to be popular about 5 years ago.

    I take it it fades away? if not you have a javascript conflict.

    You don't have to remove it from the code, instead override it.

    in youtrteme/design/custom.css

    .ItemComment.Alt{
       background-color: transparent!important;
    }
    
    .ItemComment.Mine{
       background-color: transparent!important;
    }
    
    .ItemComment.Item{
       background-color: transparent!important;
    }
    

    change each to applicable colours for your theme.

    grep is your friend.

  • @hgtonight 2.1 based on default theme , i rewrite the style.css under applications\dashboard\design.

  • No you need to edit that in a custom.css file. If the default theme does not have one, make one and put your edits there.

    It is not advisable to edit the style.css which is the master style.

  • I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • @x00 ....but it also made my External Style transparent...........

  • @vrijvlinder = = i don understand i don hv custom.css file.

  • If you are using the default theme, it does not come with a custom.css , usually custom themes are the ones that have it.

    If you are using the default theme, make a custom.css file and put it in the design folder of the theme. If it does not have a design folder, make one and put the custom.css in there.

    I would suggest you download some themes and see what they have inside so you can get an idea of the files they contain.

  • jeongweejeongwee ✭✭
    edited July 2013

    @vrijvlinder i think i cant change it via edit css file....
    @hgtonight how 2 change the js .so i can remove the yellow background-color ?im using the 2.1b1 version of vanilla

  • I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited July 2013

    Or copy the whole style.css into a new custom.css style sheet.

    is that a good idea??? my thinking not.

    but yes, you should not edit style.css.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • jeongweejeongwee ✭✭
    edited July 2013

    @peregrine @vrijvlinder
    image
    image
    image
    i tryed wat u say, it really doesent working,see the pictures, maybe something i did wrong.

  • jeongweejeongwee ✭✭
    edited July 2013

    @vrijvlinder my bad .......... use the background:rgba(0,0,0,0.2)!important .it works now..
    sry i didnt know the !important and how is it working on css be4 googled it.
    @peregrine i just learned css&html about one week . im trying to learn faster ,asking question is one of the way,anyway ty for all of the helping.

Sign In or Register to comment.