Add class to text in vsel-meta p
-
Hi, again ??
This is by no means very important. But if it is really easy to add to a future update, I think it would be nice. So, what is it?
Well, for the vsel-meta section you have these p classes:
vsel-meta-date
vsel-meta-start-date
vsel-meta-end-date
(and location, time, etc)Inside this, you have text (Date:, Time:, Location: etc) and a span with the generated content. The thing is, I can target the <span> to change that specific text, make it float right etc – but I cant specifically target the text that comes before. The simple description. Like this:
Date: 21st November, 2020
I can make specific changes to “21st November, 2020”, but I can only make default changes to the “Date:” by targeting the p class.
So, is it easy to embedd the text in another span (that you could target with nth-class) or some other class to make these text outputs easier to style for the specific needs at hand?
If it is, maybe add this to a future update? If not (or if you disagree about this being useful at all), ignore this and put your efforts on more important stuff ??
Thanks again for listening, and working on this awesome plugin.
The page I need help with: [log in to see the link]
- The topic ‘Add class to text in vsel-meta p’ is closed to new replies.