Support Forum ยป User Profile

Forum Replies Created

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • in reply to: Style text in a custom field #28829
    LaurentLaurent
    Participant

    Is it something you could implement easily, Long?

    in reply to: Style text in a custom field #28759
    LaurentLaurent
    Participant

    Hi Long!

    First, thanks a lot for making this video!
    I don't know if I'll be able to implement it yet, but I'll try.

    Here is a suggestion that would make life much easier for non-advanced users like me.
    => Add an advanced "Custom HTML" field (compatible with internal and/or inline CSS) that, unlike the current "Custom HTML" field, has content that is specific for each post of a CPT.

    In my case, the custom HTLM for each post would look like this:

    <style>
    p {
    font-color: #333;
    }
    .lyrics {
    font-color: black;
    }
    </style>

    <p style="timecode">[Timecode]
    <br /><span style="lyrics">[Lyrics]</span>
    </p>

    <p style="timecode">[Timecode]
    <br /><span style="lyrics">[Lyrics]</span>
    </p>

    ...

    What do you think?

    in reply to: Style text in a custom field #28737
    LaurentLaurent
    Participant

    Hi Long (your first name, right? :-),

    Thanks for your prompt reply.

    As I'm not a dev and, I have no idea how to use the code you gave me.

    Is it too much to ask of you to make a one-minute video filming your screen on a demo site or something that would help me better understand where and what I'm supposed to do?

    But first, I'd like to clarify what I mean by styling the content in the "Lyrics" custom field.
    You'll see here an example of how I would like it to appear on the front end (I can't read Vietnamese, it is just a tribute to the great Meta Box team :-).

    Best,

    Laurent

Viewing 3 posts - 16 through 18 (of 18 total)