Jennifer Zelazny

Random and Opinionated Thoughts

Tag: Bootstrap

CSS HOWTOs Web Development

Add Bootstrap Classes to the Next and Previous Image Buttons

Posted by: Jennifer Zelazny | 0 Comments

When viewing media (usually the image.php template) within WordPress – there are buttons to browse the next and previous buttons that you might want to customize if you are creating a Bootstrap WordPress them. If this is the case – styling the buttons with Bootstrap is easy. You can simply add the following to your theme’s functions.php file. Note – you can change the btn-default class to btn-primary or whatever you need. Read more