AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
824 stars 168 forks source link

CSS classes for tabs and accordions #158

Open NewJenk opened 5 years ago

NewJenk commented 5 years ago

At the moment it's not possible to add classes to tabs or accordions. Would be great if the ability to add classes to these fields could be implemented.

NewJenk commented 4 years ago

Any chance of this happening @elliotcondon?

elliotcondon commented 4 years ago

Hi @NewJenk

Thanks for the request. Can you elaborate more on which DOM element would receive the class attribute?

pyqui commented 3 years ago

I would like to add a class or ID to the tab and accordion, it would be very useful

elliotcondon commented 3 years ago

Hi @pyqui Thanks for the comment.

Our field builder does allow for class and id attributes for all field types (including tabs and accordions). Perhaps our API is not implementing these settings when rendering the UI. I'll add this to our to-do list.