Text Widget Padding

Community Forums Forums Design Tips and Tricks Text Widget Padding

This topic is: not resolved

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  growdough 4 months, 2 weeks ago.

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

    growdough
    Participant
    Post count: 3

    Agency Pro theme:

    In the widget bucket called Home Middle.

    I have a text widget follow by a Genesis Featured Posts widget.

    The featured posts widget is filling the width of the page (1140px) but the text widget is showing up with a 40px padding all the way around.

    I have an image in the text widget and it won’t go full width.

    I changed css from 4rem to 0 rem but this messes up text widgets with actual text in them.

    I tried an image widget plugin but apparently it’s inheriting margins from somewhere.

    Any ideas on how to get an image into Home Middle and have it fill the 1140 width?

    Thanks

    #103529

    nutsandbolts
    Moderator
    Post count: 3131

    Can you post a link to your site? It’s always easier to help if we can see what you see.


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #103603

    growdough
    Participant
    Post count: 3

    Can’t post as it’s in dev mode. When I get a chance I’ll post solution

    #103635

    growdough
    Participant
    Post count: 3

    Using Firebug I found the CSS section in question:

    /* Home Page
    ——————————————— */

    .agency-pro-home .content .widget {
    background: #fff;
    margin-bottom: 0px;
    margin-bottom: 0rem;
    padding: 40px;
    padding: 4rem;
    }

    Then added the code snippet below right below the above code in CSS.

    #text-2 { padding: 20px 0px 40px 0px; }

    This allowed me to control the padding for that specific text widget. Now My image runs the full width. Yay!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.