The glideslope signal is transmitted by a separate transmitter on a separate frequency (UHF).
Thankfully for pilots this frequency is paired with the localiser frequency (VHF), so you just tune in the published ILS frequency and the glideslope is also automatically selected.