bootstrap-genesis icon indicating copy to clipboard operation
bootstrap-genesis copied to clipboard

Add support for add_theme_support( 'genesis-footer-widgets', num_cols );

Open salcode opened this issue 10 years ago • 5 comments

where num_cols is an integer like (2, 3, or 4) http://my.studiopress.com/tutorials/add-footer-widgets/ (Requires Studiopress Membership)

salcode avatar Feb 13 '15 21:02 salcode

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,

unwiredtech avatar Feb 29 '16 13:02 unwiredtech

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).

image

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 avatar Feb 29 '16 15:02 salcode

@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!

unwiredtech avatar Mar 01 '16 01:03 unwiredtech

Glad to hear you got it working and that you find Bootstrap Genesis useful in general.

Thanks for the kind words. :+1:

salcode avatar Mar 01 '16 10:03 salcode

See https://github.com/JiveDig/baseline/blob/master/includes/layout.php#L39 by @JiveDig for a solution using the current version of Genesis.

salcode avatar Oct 10 '16 14:10 salcode