• Resolved martinbeaulne

    (@martinbeaulne)


    Hi ! I have a profile field with 15 choices checkbox. It renders very ugly in the search forms. I’d like to wrap this search field in a scrollable div, but I can’t find the loop calling that field in your plugin…

    Can you help me with that and show me how to isolate a single field so I can put it in a <div class="custom">?
    Thanks !

    http://wordpress.org/plugins/geo-my-wp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi,
    The function that displays the profile fields called:
    gmw_fl_fields_dropdown()
    and you can find it in:
    wp-content/plugins/geo-my-wp/plugins/friends/includes/gmw-location-search-functions.php line 7.

    However, the plugin wrap each profile fields within its own div and uses the field’s id as class.
    so if you’ll look with firebug or inspect element you will see that each profile field has its own div like:
    <div class="editfield field_2 checkbox"> ....... </div>

    So maybe you can just use the field_2 class tag for example to add some styling to the field.

    Thread Starter martinbeaulne

    (@martinbeaulne)

    Works perfectly.

    Thanks a lot. I’ve added a css class in the style.css of the theme, like: .field_79 { some styling }
    And it works like charm.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    You are welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display checkboxes in scrollable box’ is closed to new replies.