Custom CSS not working



  • So basically, custom CSS isn't working on my forums. I'm up-to-date (1.4.6), but I don't think it's a version issue, because this still happened when I was on 1.4.4.
    If I add any CSS rules on my forums, they don't work. I tried restarting my forums, Ctrl + F5, everything.



  • @Thouv You should provide more information like the CSS you are actually trying to insert, I think.



  • @Telokis said in Custom CSS not working:

    @Thouv You should provide more information like the CSS you are actually trying to insert, I think.

    @Thouv said in Custom CSS not working:

    So basically, custom CSS isn't working on my forums. I'm up-to-date (1.4.6), but I don't think it's a version issue, because this still happened when I was on 1.4.4.
    If I add any CSS rules on my forums, they don't work. I tried restarting my forums, Ctrl + F5, everything.

    Anything. background-color, font-family, margin, whatever you can think of


  • Global Moderator

    @Thouv what is the literal CSS text you are putting in the box?



  • @Thouv Show us what you are exactly putting, please. This is not precise enough.



  • .navbar-default {
    background-color: #009ACD;
    border-color: #009ACD;
    }

    #join_serv_div {
    border: 4px solid #009ADD;
    background: transparent;
    color: #009ADD;
    transition: background 0.4s, color 0.4s;
    padding: 6px;
    margin-bottom: 12px;
    }

    #join_serv_div:hover {
    background: #009ADD;
    color: #fefefe;
    }


  • Global Moderator

    I just tried that on v1.4.6, and it didn't reproduce.

    What do you mean by "don't work"? Can you access the forums? Do they look funny? Are there errors?



  • @PitaJ said in Custom CSS not working:

    I just tried that on v1.4.6, and it didn't reproduce.

    What do you mean by "don't work"? Can you access the forums? Do they look funny? Are there errors?

    No errors in console, and yes I can access them. They look completely normal, except with the default CSS. This happens with any skin btw


  • Global Moderator

    @Thouv

    They look completely normal, except with the default CSS

    By this do you mean that they look completely normal, as if they were on the default CSS? Or do you mean that they don't look normal when they're on the default CSS?

    I imagine you mean that the custom CSS just isn't applying. Is that correct? Or does it break something when you add it?

    If it does break something, can you take a screenshot of that breakage? Thanks.



  • @PitaJ said in Custom CSS not working:

    @Thouv

    They look completely normal, except with the default CSS

    By this do you mean that they look completely normal, as if they were on the default CSS? Or do you mean that they don't look normal when they're on the default CSS?

    I imagine you mean that the custom CSS just isn't applying. Is that correct? Or does it break something when you add it?

    If it does break something, can you take a screenshot of that breakage? Thanks.

    They look completely normal, as if they were on the default CSS. Yes, it just isn't applying, nothing breaks. And the CSS rules don't show up in dev tools


  • Global Moderator

    I just want to make sure that every possibility is exhausted.

    Can you try turning the Enable Custom CSS toggle off, then saving the page, then turning it back on, then saving the page again? Thanks.

    And can you check for any errors in the browser console when on that page?



  • @PitaJ said in Custom CSS not working:

    I just want to make sure that every possibility is exhausted.

    Can you try turning the Enable Custom CSS toggle off, then saving the page, then turning it back on, then saving the page again? Thanks.

    And can you check for any errors in the browser console when on that page?

    It worked! Thanks
    Just had to disable, save, and reenable. Weird.



  • @Thouv said in Custom CSS not working:

    @PitaJ said in Custom CSS not working:

    I just want to make sure that every possibility is exhausted.

    Can you try turning the Enable Custom CSS toggle off, then saving the page, then turning it back on, then saving the page again? Thanks.

    And can you check for any errors in the browser console when on that page?

    It worked! Thanks
    Just had to disable, save, and reenable. Weird.

    :p Hi thouv


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.