• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

keraweb

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 2, 2016 at 5:21 am in reply to: Hello!Pro Widgets #190637
    keraweb
    Member

    Maybe this could help:
    https://wordpress.org/plugins/genesis-widget-column-classes/

    It's a plugin I've created to add column width's to widgets.

    August 2, 2016 at 5:19 am in reply to: Splitting Primary Sidebar into two equal half for putting ads etc. #190636
    keraweb
    Member

    Maybe this could help aswell:
    https://wordpress.org/plugins/genesis-widget-column-classes/

    It's a plugin I've created to add column width's to widgets.

    August 26, 2015 at 4:24 am in reply to: Add bootstrap classes to footer widgets #163540
    keraweb
    Member

    No problem.
    I recently made a plugin for this feature and more. It allows the user to add all the default column classes (including the "first" class) to all widgets in their site. (note: it does require a theme that supports this!)

    https://nl.wordpress.org/plugins/genesis-widget-column-classes/

    October 31, 2013 at 3:41 am in reply to: footer widgets hook #70074
    keraweb
    Member

    Hi Dave,

    It's still a development site so its only available for my own IP.

    Here is the code:

    <div class="footer-widgets">
      <div class="wrap">
        <div class="footer-widgets-1 widget-area">
          <div class="inner">**MULTIPLE WIDGETS**</div>
        </div>
        <div class="footer-widgets-2 widget-area">
          <div class="inner">**MULTIPLE WIDGETS**</div>
        </div>
        <div class="footer-widgets-3 widget-area">
          <div class="inner">**MULTIPLE WIDGETS**</div>
        </div>
        <div class="footer-widgets-4 widget-area">
          <div class="inner">**MULTIPLE WIDGETS**</div>
        </div>
      </div>
    </div>

    And here is the functionality for the template:

    div.footer-widgets -> white background (white), 100% width
    div.wrap -> none (it was allready there.. but no use for me since it wraps all the widget areas)
    div.widget-area -> width 25%, paddings for separation of the widget areas
    div.inner -> the widget area background (light gray)

    The reason I needed to do this is because when I put the background on the widget-area div, the padding will have that background aswell (instead of the white color of the footer-widget area.
    And when I make the padding of the widget-area a margin the width's won't make 100% together but more. (I have all elements set to box-sizing: border-box).
    This was the only way I could think of to make the 4 widget areas equal with (25%) plus let them have separate backgrounds with a white line in between.

    I could also use the widgets for the gray background, but that won't work either since I'm equalizing the heights of the widget-areas (looks neat) and I want the gray background to be equalized as well.

    Plus despite of the above... ALL the other genesis widget areas have this hook, so why not the footer widget areas?

    Thanks, Jory

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble