Genesis includes Bootstrap CSS for column classes built in so its supported by any child theme running on the Genesis theme framework.
This enables you to add the column classes to any div, including PHP code which generates widgets.
The benefit of using column classes is, you don’t need to add any additional CSS to display your widgets in columns inline.
Because its already included, you simply add the classes in your PHP as you can see in this code.
This example shows you 3 widgets inline however you can very simply change the one-third to one-half, one-fourth or one-sixth.
3 Widgets Inline
This PHP generates 3 widgets side by by side and goes in your child themes functions file.
Leave a Reply
You must be logged in to post a comment.