$('.floating-menu').click(function () {
$('.floating-menu').removeClass('active');
$(this).addClass('active'); // use this to add class instead
});
CSS
.floating-menu {
text-align: center;
padding: 12px;
border-bottom: 1px dotted #000;
font-size: 1.2rem;
&:hover, &.active {
background: $award19-color;
}
}