Styling fieldsets on Listing Detail

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #507722

    Manfred Van Ursel
    Expired Member
    Post count: 295

    Hi,

    Apparently when we create fieldsets admin-side, there’s no div that groups them together on the front-end, fieldset by fieldset, so we cannot style them inside boxes separated one from another, for example.

    We just have a stack of fields, first the title in an h2 (with class fieldset-company-information), then several divs with the custom fields that “belong” to that field, but aren’t nested inside it / alongside it.

    However, both things (fieldset title and fieldset contents) should be inside a generic div to be really considered “fieldsets”, and they aren’t.

    Do you know of some way to arrange this situation?

    Thanks,

    #507769

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    there are many ways to do this.

    First, when you group fields together under a tab, then the fields are definitely inside a container.
    https://wpgeodirectory.com/docs-v2/places/tabs/

    Second, you could use tabs as a list, instead of inside tabs: https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_single_tabs

    Third, tabs are optional. You can write your own custom HTML and CSS inside the GD Details template to get exactly the layout you want.
    https://wpgeodirectory.com/docs-v2/templates/details/

    Use the shortcode builder to create shortcodes that use exactly the output you want for each GD Custom field.
    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount