• Resolved dneale123

    (@dneale123)


    Hi,

    Does anyone know how to put some space between multiple custom fields in a list?

    For example:
    [catlist name=”contact” customfield_orderby=lastname order=asc customfield_display=”firstname,lastname” customfield_display_name=no customfield_class=contact_class]

    will display a list of posts of type contact ordered by last name. However I can’t style this to put a space (or anything else) between the first and last names. I can use CSS on contact_class to style the whole string of custom fields but can’t separate the two fields. Has anyone done this successfully?

    TIA 🙂

    David.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey David,

    have you tried to add the parameter customfield_display_glue?

    For example:
    [catlist name="contact" customfield_orderby="lastname" order="asc" customfield_display="firstname,lastname" customfield_display_name="no" customfield_class="contact_class" customfield_display_glue=" "]

    • This reply was modified 8 years, 11 months ago by Sany.
    Thread Starter dneale123

    (@dneale123)

    Many thanks saNNNy – that did just what I wanted 🙂

    Thread Starter dneale123

    (@dneale123)

    Resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Inserting space between multiple custom fields’ is closed to new replies.