# How do I make CSS changes in my Discourse?

**URL:** <https://meta.discourse.org/t/how-do-i-make-css-changes-in-my-discourse/89966>\
**Category:** Product Support\
**Created:** [June 15, 2018, 11:57am UTC](https://meta.discourse.org/t/how-do-i-make-css-changes-in-my-discourse/89966 "2018-06-15T11:57:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [June 18, 2018, 10:24am UTC](https://meta.discourse.org/t/how-do-i-make-css-changes-in-my-discourse/89966/10 "2018-06-18T10:24:44Z")

</div>

That is a bit more work, as there isn’t a group/designation available that far on the Profile page.

The site which you made a screenshot of uses the following code

```plaintext
    var isOnProf = false;
    var checkedImages = [];

    function checkExistFunc() {
        if (document.getElementsByTagName('title')[0].innerHTML == 'Profile - Vaeb - Vashta' && document.getElementsByClassName('number').length) {
            if (!isOnProf) {
                isOnProf = true;
                if (document.getElementsByTagName('title')[0].innerHTML == 'Profile - Vaeb - Vashta') {
                    document.getElementsByTagName('body')[0].style.backgroundImage = 'url(http://modestowebdesigns.com/wp-content/uploads/2014/09/website-design-slider-background-stockton.jpg)';
                    const secondary = document.getElementsByClassName('secondary');
                    if (secondary.length > 0) {
                        secondary[0].style.background = "yellow";
                        secondary[0].style["border-bottom"] = 0;
                    }
                    for (var el of document.getElementsByClassName('number')) el.style.color = 'gold';
                    for (var el of document.getElementsByClassName('value')) el.style.color = 'gold';
                    for (var el of document.getElementsByClassName('stats-title')) el.style.color = 'gold';
                }
            }
        } else if (isOnProf) {
            isOnProf = false;
            document.getElementsByTagName('body')[0].style.backgroundImage = ''
        }
        Array.from(document.getElementsByTagName('img')).forEach((img) => {
            if (img.src.includes('/user_avatar/forum.vashta.io/vaeb') && !img.className.includes('vaeb-effect')) {
                for (let i = 0; i < checkedImages.length; i++) {
                    if (checkedImages[i].isSameNode(img)) return;
                }
                checkedImages.push(img);
                img.className += ' vaeb-effect';
            }
        });
    }

    var checkExist = setInterval(checkExistFunc, 400);

    checkExistFunc();

```

You would have to adjust to fit your needs.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-make-css-changes-in-my-discourse/89966)._
