• Resolved eric.7186

    (@eric7186)


    I use this block to display the ACF custom field: price (type = number) in a custom template (site editor). I am using this field as a dollar amount so I add the PREFIX: $ but the number appears below the $ symbol instead of on the same line.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Phi Phan

    (@mr2p)

    Hi @eric7186, There is a setting named ‘Display layout’, you choose the value as ‘Inline Block’ and it will be good. Please let me know if it’s working.

    Phi.

    Thread Starter eric.7186

    (@eric7186)

    Work-around: Instead of using the PREFIX field in the block, I just added custom CSS to the template style (site editor):

    .value:before {
    content: ‘$’;
    }

    Plugin Author Phi Phan

    (@mr2p)

    It’s a good solution. I’m glad to hear you made it work.

    Phi.

    Thread Starter eric.7186

    (@eric7186)

    Thank you. I missed the display option.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PREFIX pushes value to next line’ is closed to new replies.