1. We suggest you do NOT update to Joomla 3.8.10 until we can resolve an issue it causes with caching in Fabrik. If you do install it, you'll need to disable Joomla's "System Cache" in the global System settings.
  2. Apologies for the recent server outage, a planned migration by our host provider to a new location turned into a bit of a nightmare.

css class for database join and dropdown different

Discussion in 'Professional Support' started by bea, Jun 28, 2018.

Thread Status:
Not open for further replies.
  1. bea

    bea Active Member

    Level: Professional
    Hi,
    I noticed, that my dropdown design for database join (Schicht) and simple dropdown (Status) are different in my YOOtheme pro template. How can I customize to get the same style for both dropdowns like 'Status'.
    Maybe Fabrik dbjoin class is distinguished from dropdown class?
    Many thanks.
    Bianka
     

    Attached Files:

  2. bea

    bea Active Member

    Level: Professional
    Friendly bump
     
  3. troester

    troester Well-Known Member Staff Member

    Level: Standard
    I can't see a difference on my site.
    Do you have a link?
    Are both elements single select?
     
  4. bea

    bea Active Member

    Level: Professional
    Hi troester,
    both elements are single dropdowns (simple dropdown and dbjoin dropdown). Difference is just in height and design.
    You will find site infos in 'My Sites'
    Many thanks
    Bianka
     
  5. troester

    troester Well-Known Member Staff Member

    Level: Standard
    Which form?
     
  6. bea

    bea Active Member

    Level: Professional
    CP1 Aktionsplan and CP1 Line Tour Formular
     

    Attached Files:

  7. troester

    troester Well-Known Member Staff Member

    Level: Standard
    It's because your template is doing strange css settings (overriding the dropdown with an extra background etc).
    upload_2018-7-12_18-4-11.png

    I think you can override ...plugins\fabrik_element\dropdown\layouts\fabrik-element-dropdown-form.php
    and change
    $multisize = $d->multisize === '' ? '' : 'size="' . $d->multisize . '"';
    to
    $multisize = $d->multisize === '' ? 'size="1" ' : 'size="' . $d->multisize . '"';

    to force a size="1" option as in the dbjoin (so it won't trigger this CSS setting).
     
    bea likes this.
  8. bea

    bea Active Member

    Level: Professional
    Hi troester,
    many thanks for your support. It works!
    Cheers, Bianka
     
Thread Status:
Not open for further replies.

Share This Page