Site logo

Archived topic

Target ID with CSS

3 replies · Started by Arved on February 19, 2021

Viewing posts 1–4 of 4

Hello,

I have a widget with id="chaty-widget-0". Wanted to make it disappear in CSS with

.chaty-widget-0 {display:none;}

but that didn't work. How can I target an id?

Website: https://arvedgintenreiter.com, see the contact widgets at the bottom

Thanks,
Arved

Hi there,

use the # to target an ID instead of a .

eg,

#chaty-widget-0

Hi David,

that works, thank you!

Best,
Arved

Glad to hear that

This archived topic is closed to new replies.