Title: Additional CSS classes
Last modified: January 6, 2023

---

# Additional CSS classes

 *  [holby](https://wordpress.org/support/users/holby/)
 * (@holby)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/additional-css-classes-6/)
 * Hello
 * I need to add the class “nolightbox” to the posts in my grid.
 * Neither the advanced option in the layout nor the template actually adds the 
   class, it is nowhere to be seen in the inspector.
 * I have tried both nolightbox and .nolightbox
 * Any suggestions as to how I can enforce this class being added would be very 
   useful.
 * Thank you kindly
 * ps. Working locally on MAMP so I cannot sen you a link sorry.

The topic ‘Additional CSS classes’ is closed to new replies.

 * ![](https://ps.w.org/custom-layouts/assets/icon-256x256.png?rev=2475457)
 * [Custom Layouts - Post + Product grids made easy](https://wordpress.org/plugins/custom-layouts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-layouts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-layouts/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-layouts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-layouts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-layouts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [holby](https://wordpress.org/support/users/holby/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/additional-css-classes-6/)
 * Status: not resolved