Support » Plugin: Participants Database » CSS id in pdb while loop

  • Is it possible to add IDs for CSS layout in while loop?
    I created custom pdb_list template and I need to style each cell (or some cells) differently.
    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign


    Yes, the approach is to have some CSS rules that target some special class names, then set up your custom template to assign class names to the element wrapper in the loop based on the value or whatever.

    If you just want to style things according to which field it is, you can do that just with CSS, look at the HTML source, you’ll see the wrappers have a class name based on the name of the field.

Viewing 1 replies (of 1 total)
  • The topic ‘CSS id in pdb while loop’ is closed to new replies.