Site logo

[Resolved] format of ACF field with type textfield in Hook block

Home Forums Support [Resolved] format of ACF field with type textfield in Hook block

Home Forums Support format of ACF field with type textfield in Hook block

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2427659
    Torsten

    I do have two ACF custom fields.
    One is of type “text”, the second is of type “textfield”

    I wankt to add the information of both field dynamically to the end of the main content of a post, so I created an element of type “Block – Hook” and added formatted text.
    I insert both fields via a heading block and with “dynamic options” – Post Meta and respective field name.

    I can easily control the format (fontsize, color, spacing) via the block options on the right for the entry with “text” ACF-field and this works fine.
    When doing the same to the textfield entry, the typography options are somehow more limited, and are not applied to the final output, but only to the editor view.
    How can I change/control the formatting of a custom field of type textfield (or similar field with WYSIWYG-type)?

    #2427663
    Torsten

    My bad, just noticed the block for second field was a paragraph, just the tag name was h2

    #2427667
    Torsten

    but still, all the format options for textfield do not impact the output

    #2427690
    Torsten

    now I understand, both the block and the tag name needs to be heading. now it works fine.

    #2427747
    Leo
    Staff
    Customer Support

    Glad to hear 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.