• 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

Widget help (CSS & Placement)

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

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Widget help (CSS & Placement)

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 12 years, 7 months ago by angieatc.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 1, 2012 at 3:34 pm #2791
    angieatc
    Member

    I am completely stuck on why this is not working. Here is the site I am working on: http://test1.strosgirldesigns.com/

    I used this tutorial here to create the widget area and used a 1 in this line: add_action( 'genesis_footer', 'child_footer_menu', 1 ); so I can get the widget to appear above the footer (credit area). So this is what I have in my functions.php file:

    add_action( 'genesis_footer', 'child_footer_menu', 1 );
    function child_footer_menu() {
    echo '<div><div>';
    dynamic_sidebar( 'footer menu' );
    echo '</div><!-- end .wrap --></div><!-- end .footer-menu -->';
    }
    /** Register widget areas */
    genesis_register_sidebar( array(
    'id'            => 'footer-menu',
    'name'          => __( 'Footer Menu', 'child' ),
    'description'   => __( 'This is the widget area below the Footer for your menu. Please DO NOT add anything to this widget area.', 'child' ),
    ) );

    and for my CSS I put this in:

    #footer-menu {
    background-color: #ec008c !important;
    border-bottom: 3px solid #fff;
    clear: both;
    color: #fff;
    overflow: hidden;
    padding: 10px 0;
    text-transform: uppercase;
    width: 100%;
    }

    #footer-menu .wrap {
    margin: 0 auto;
    width: 960px;
    }

    #footer-menu ul {
    float: left;
    width: 100%;
    }

    #footer-menu li {
    float: left;
    list-style-type: none;
    }

    #footer-menu li a {
    color: #fff;
    display: block;
    font-size: 12px;
    padding: 6px 15px 5px;
    position: relative;
    text-decoration: none;
    }

    #footer-menu li a:hover,
    #footer-menu li a:active,
    #footer-menu li:hover a,
    #footer-menu .current_page_item a,
    #footer-menu .current-cat a,
    #footer-menu .current-menu-item a {
    color: #000;
    }

    #footer-menu li li a,
    #footer-menu li li a:link,
    #footer-menu li li a:visited {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-top-width: 0;
    color: #555;
    font-size: 11px;
    padding: 5px 10px;
    position: relative;
    text-transform: none;
    width: 128px;
    }

    #footer-menu li li a:hover,
    #footer-menu li li a:active {
    color: #222;
    }

    #footer-menu li ul {
    height: auto;
    left: -9999px;
    margin: 0 0 0 -1px;
    position: absolute;
    width: 150px;
    z-index: 9999;
    }

    #footer-menu li ul a {
    width: 130px;
    }

    #footer-menu li ul ul {
    margin: -33px 0 0 149px;
    }

    #footer-menu li:hover>ul,
    #footer-menu li.sfHover ul {
    left: auto;
    }

    I know I am missing something because it is not even taking the background color for the menu. Can someone please help me on getting this thing to line up correctly? The only thing that is going in this widget is a custom menu but I need it above the credits but below the footer widgets.

    Thanks


    My design site, Hill Springs Designs

    December 1, 2012 at 5:04 pm #2801
    sahdow
    Participant

    I find it's easiest to deal with one issue at a time. From what I can see (just glancing) you haven't defined margins. Think of the margin as the container, but the padding as the space inside the container and how close to the walls.

    Start by centering your footer menu:

    Top left/right Bottom
    0        auto      0

    http://www.w3schools.com/css/css_margin.asp 

    Then look at your list items, set to display inline

    http://www.w3schools.com/css/css_list.asp

     

     

    December 1, 2012 at 5:26 pm #2804
    angieatc
    Member

    It is still not working. There is something going on with it even registering the widget because it is not even taking the background color of black. Plus I cannot get the footer (where the credits are) to line up correctly either.

     


    My design site, Hill Springs Designs

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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