bootstrap-genesis
bootstrap-genesis copied to clipboard
Add support for add_theme_support( 'genesis-footer-widgets', num_cols );
where num_cols is an integer like (2, 3, or 4) http://my.studiopress.com/tutorials/add-footer-widgets/ (Requires Studiopress Membership)
hi @salcode I tried to add widgets on Genesis-Bootstrap but it is using Genesis markup, I added some mark up at bsg_add_markup_class() function.
I want to change the footer-widgets-# to col-sm-3. How I am going to add it?
Regards,
Hi @unwiredtech,
It looks like we need to add the class to these divs (.footer-widgets-1
, .footer-widgets-2
, .footer-widgets-3
, .footer-widgets-4
) and unfortunately there is not a filter for that (see lib/structure/footer.php
in the Studiopress Genesis theme).
If you need this functionality, I would add CSS to the project to .footer-widgets .widget-area
to get it to behave the way you want.
Best of luck and I'd love to hear about the solution you find.
@salcode Hello, thank you for the fast response.
You are right, I tried to inject the class for the footer-widgets-x but it did not work. As you said I added the CSS the way you describe.
Great framework!
Cheers!
Glad to hear you got it working and that you find Bootstrap Genesis useful in general.
Thanks for the kind words. :+1:
See https://github.com/JiveDig/baseline/blob/master/includes/layout.php#L39 by @JiveDig for a solution using the current version of Genesis.