• 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

Remove margin or padding in News Pro theme

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 › Remove margin or padding in News Pro theme

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 6 years, 3 months ago by Davinder Singh Kainth.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 19, 2016 at 1:16 pm #181875
    mort1m
    Member

    I'm having a problem with a site I'm helping a friend with. I’m having problems getting rid of an open space between a picture and the content below:

    The Holy Cross Mountains

    Right below the picture (placed in the genesis_before_entry hook), there is a white line. I've placed a background color class in the custom post class on that post. I want to remove the white line that appears below the picture and above the background color so that they fit together with no space between.

    If I figured it put correctly, there must be a margin or padding applied below the picture, am I correct? How can I change the code to get rid of the space, margin, padding or what it is...?

    http://cracowholidays.com/the-holy-cross-mountains/
    March 20, 2016 at 8:58 am #181921
    Davinder Singh Kainth
    Member

    Try this in style.css

    .content img {
        margin-bottom: -8px;
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    March 20, 2016 at 9:12 am #181922
    mort1m
    Member

    Thanks again, Davinder! You've helped me before too, I will not forget. I'm learning day by day, but still have a long way to go I suppose...

    March 20, 2016 at 9:22 am #181923
    Davinder Singh Kainth
    Member

    Welcome!


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove margin or padding in News Pro theme’ is closed to new replies.

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