Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 17, 20214 yr 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?
April 17, 20214 yr 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.
April 17, 20214 yr Author 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, 20214 yr by kmk
April 17, 20214 yr 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, 20214 yr by Nathan Explosion
April 17, 20214 yr 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, 20214 yr by Nathan Explosion
April 17, 20214 yr Author It work, but it hide title of each video item too, is possible exclude them in the css code?
April 18, 20214 yr 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.