Okay
  Public Ticket #1509470
Css change
Closed

Comments

  • Alain Degoumois started the conversation

    Hi,

    Where can I change color and background of the sphere ?

    Thanks for your support.

    Alain

  •  12
    Nick replied

    Hi Alain,

    Sorry for the late reply. First let's go through the sphere color: You have two instances of color there for the particles which make up the sphere and the lines that go out of the sphere itself. You can see those in the js/3d/sphere.js file, they are marked by comments in the file itself. You will see two instances of color there:

    color: 0x353535
    

    and

    color: 0x353535
    

    Those are hex values of RGB colors, so just change the 6 digits after the '0x', so for instance if you want to make it black it would look like:

    color: 0x000000
    

    Now for the background color. That's controlled through CSS like so:

    .hero {
        background-image: radial-gradient(50% 100%, #e6e6e6 50%, #d6d6d6 100%);
    }

    Just change the hex values here as well and you'll be set.

    Thanks,
    Nick



    aetherthemes

  • Alain Degoumois replied

    Thanks Nick for your reply.

    Alain