![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/1430b91930b8b9d9ec6f699f0b4a7acf-87a1c39.jpg)
Hi,
I am adding classes with beans_add_attribute( 'beans_post_more_link', 'class', 'uk-button' );
How to I add multiple classes to a div?
Bas
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/c70294be72623e3f8995ee4832f8d065-87a1c39.jpg)
Hey Bas, you can add it in the same string. See the example below:
beans_add_attribute( 'beans_post_more_link', 'class', 'uk-button another-class more-class' );
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/1430b91930b8b9d9ec6f699f0b4a7acf-87a1c39.jpg)
Thanks I tried with 'uk-button' 'another-class'
......this will work better...
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/c70294be72623e3f8995ee4832f8d065-87a1c39.jpg)
No worries, I am glad I could help 🙂