kmk Posted April 17, 2021 Posted April 17, 2021 Hello, sorry for this request, I have been learning how to use css hide some element, but can not do this, anyone can tell me how can I hide the title?
Nathan Explosion Posted April 17, 2021 Posted April 17, 2021 Right click, select 'Inspect element' and figure out something unique about it that allows you to target it in CSS, then hit it with a display:none Either that or give people a link to the page to do it for you.
kmk Posted April 17, 2021 Author Posted April 17, 2021 (edited) Hi @Nathan Explosion Thanks for your reply, hope it is not so hesitate... I can target 2 class .ipsWidget_title and .ipsType_reset, but it is for all widgets, I only want to hide the specific widget... Edited April 17, 2021 by kmk
Nathan Explosion Posted April 17, 2021 Posted April 17, 2021 (edited) And what element on the page is it? Your screenshot is obscured, so kind of shooting in the dark here and don't want to make an assumption. Edited April 17, 2021 by Nathan Explosion Afrodude 1
Nathan Explosion Posted April 17, 2021 Posted April 17, 2021 (edited) You're concentrating on the specific element alone - the 'h3' Look further above it - it has a 'div' parent, which in turn has an 'li' parent...and that 'li' has something unique about it: data-blocktitle="YouTube Feed Widget" So target that element instead, with the added 'h3' below it. So try this... li[data-blocktitle="YouTube Feed Widget"] h3.ipsWidget_title{ display:none; } Edited April 18, 2021 by Nathan Explosion kmk 1
kmk Posted April 17, 2021 Author Posted April 17, 2021 It work, but it hide title of each video item too, is possible exclude them in the css code?
Afrodude Posted April 18, 2021 Posted April 18, 2021 @kmk give us a link in order to help you better. kmk 1
Nathan Explosion Posted April 18, 2021 Posted April 18, 2021 8 hours ago, kmk said: It work, but it hide title of each video item too, is possible exclude them in the css code? Think it through...you have already answered your own question earlier with the information you provided...see my edit. kmk 1
Recommended Posts