I use the following code which get applied on two different pages because both pages are using the same element:
.SocialBar {
display: none;
}
But I want the code to be applied to one page only. On the page where I want it, the following class exists:
.PersonalHome-interests.u-mbg
Is it somehow possible that I insert .PersonalHome-interests.u-mbg over the thing with the Newsticker and only let check whether the line PersonalHome-interests.u-mbg exists and if so, then Newsticker = display: none apply?
Thanks.
.SocialBarand.PersonalHome-interests, but show elements that only have the class.SocialBar?.SocialBarlinked to web page, it will affect that page, unless you overwrite it. If you only want.PersonalHome-interests.u-mbg.SocialBar{ display:none; }on the CSS page that is used for multiple HTML pages, then do that.