• 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

Text Widget Padding

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 › Text Widget Padding

This topic is: not resolved

Tagged: code, text wideget

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 10 months ago by growdough.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 2, 2014 at 3:26 pm #103367
    growdough
    Participant

    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

    May 3, 2014 at 6:37 pm #103529
    nutsandbolts
    Member

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


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

    May 4, 2014 at 11:39 am #103603
    growdough
    Participant

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

    May 4, 2014 at 6:48 pm #103635
    growdough
    Participant

    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!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

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