• Resolved Sinkadus

    (@niwin)


    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]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi again,

    Guess the most logical thing to do is to wrap the first part (Date) in a spam as well. And give it its own class. But, for users who already added custom CSS to the span (currently the value), this will cause problems as you can imagine. But sometimes this is inevitable, otherwise you cannot develop it further.

    Guido

    Thread Starter Sinkadus

    (@niwin)

    Yes, I completely understand the need to keep the basic structure intact to protect users with custom CSS.

    Maybe keep it to a bigger future update when you need to change some bigger things, if that comes up.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add class to text in vsel-meta p’ is closed to new replies.