Domain object being rendered

Hey, this is my first time doing a smoke simulation and I’ve come across a problem. I have a voxel data texture set up on a material with volumetric shading. When I render it its all good and renders the smoke inside the domain object, but as soon as I check the ramp box to edit the colour, it renders the domain object. What am I doing wrong?

Figured it out.