Author | Posts |
---|---|
Martin_1
May 25, 2021 at 12:53 pm
|
Heads up! this post was created when Microthemer was at version 6. The current version is 7. Some references to the interface may be out of date. Hi, There is a date visible in the slider on the homapge of https://www.ewe-i.com/ but I have no idea how to set it to display none. Is this even possible seeing as it doesn’t have it’s own class or ID? I was thinking about using the pseudo class ::after for the class .nivo-caption-inner but that obviously didn’t work. I am in need in a bit of insight on this :-). |
Sebastian
May 25, 2021 at 1:29 pm
|
Hey, In order to target the date, separately from the rest of the content in that box, you need to segment it with a HTML tag e.g. a span. The span doesn’t need a class or id, although you can add one. Text nodes like that date do need to be wrapped with something in order to be targeted with CSS though. Cheers, P.S. ::before and ::after are separate “pseudo” elements created with CSS, they cannot be used to target text nodes present in the HTML. |
Martin_1
May 25, 2021 at 2:20 pm
|
Hi Sebastian, That was quick :-). Thanks for the answer. I will have a closer look as to what i might be able to do. But seeing as the slider came with a theme, I am severly limited :-(. Regards |