Site logo

[Support request] Add some label text before dynamic data

Home Forums Support [Support request] Add some label text before dynamic data

Home Forums Support Add some label text before dynamic data

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2575359
    A

    Hi,
    Trying to make a template for a singular custom post. The custom post type are some products with the specs in custom fields like weight and color for example.

    I used Elements Content Template and in Dynamic Data I selected data source Current post, Content source Post Meta and Post Meta fields.

    By using header block I can add the custom fields into my Content template.

    For example:
    100 gram
    red

    But what if I want to label it/add some text before (on the same line) like:
    Weight: 100 gram
    Color: red

    How do I do that with Generatepress/Generateblocks?

    #2575467
    David
    Staff
    Customer Support

    Hi there,

    theres a few ways.
    A simple one is:

    1. add Container Block. In its Layout – set the Display to Flex and give it a little Column Gap.
    2. add a headline block for your label, and one for your dynamic data inside that container.

    Repeat this for each row.

    #2575603
    A

    Great. Curious what another way is so that I can have a more table like presentations of the specs?

    Like this screenshot: https://www.screenpresso.com/=wOrob

    #2575897
    Ying
    Staff
    Customer Support

    Curious what another way is so that I can have a more table like presentations of the specs?

    You should be able to achieve this using the same method.

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