• 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

Responsive Slider – Remove Border & Space Around Image

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 › Responsive Slider – Remove Border & Space Around Image

This topic is: not resolved

Tagged: border, genesis responsive slider, parallax-pro

  • This topic has 8 replies, 2 voices, and was last updated 10 years, 4 months ago by Marcy.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • January 19, 2015 at 5:34 pm #137995
    Kim
    Member

    Hi. I am using Parallax Pro. I followed the instructions here to add the slider at the top above the home widgets. I currently only have one image set up so there is no "sliding" at this time. However, it works well.

    My question is how do I remove the gray border & the white space around my image? I would like the image to fill the entire area. Both my image & my genesis slider settings are 1700 x 500.

    Thanks so much!!!!

    http://www.ignition.church
    January 20, 2015 at 12:19 am #138014
    Marcy
    Participant

    In the tutorial, in the style.css section, Sridhar has:

    .home-slider #genesis-responsive-slider {
         border: none;
         padding: 0;
    } 

    This is the section that removes the white and gray borders.
    If it doesn't work when it is added like that, you may have to use !important, like this:

    .home-slider #genesis-responsive-slider {
         border: none !important;
         padding: 0 !important;
    } 

    Marcy | Amethyst Website Design | Twitter

    January 20, 2015 at 10:34 am #138074
    Kim
    Member

    Thank you for responding. Unfortuantely, putting "!important;" in the location made no change. =(

    I'm at a loss and my client really wants it removed.

    January 20, 2015 at 11:09 am #138082
    Marcy
    Participant

    This is what you have:

    .home-slider #genesis-responsive-slider {
    	border: none; !important;
    	padding: 0; !important;
    }

    Note that you have two " ; " per line, and I have only one. Perhaps you could just copy and paste?


    Marcy | Amethyst Website Design | Twitter

    January 20, 2015 at 11:54 am #138095
    Kim
    Member

    Thanks, Marcy. I copied & pasted it hoping it would work and it did not. Hummmm....

    January 20, 2015 at 1:00 pm #138113
    Marcy
    Participant

    Try moving the slider CSS up into your main CSS section in your style.css.
    You want that CSS for ALL screen sizes.

    When a tutorial tells you to add the code to your style.css, they usually mean just BEFORE the @media sections, unless they tell you to add to a particular @media section.

    It looks to me like your slider CSS is currently stuck down in the @media sections, and it looks to me like the parenthesis around your @media sections are off.

    First move the slider CSS above ALL @media sections.
    Then carefully look at what you have in the @media and match the close parentheses on each of those sections.
    Go back to the original CSS to compare line-by-line, if you need to.

    You can do this!


    Marcy | Amethyst Website Design | Twitter

    January 21, 2015 at 12:03 pm #138200
    Kim
    Member

    Hummm okay I'm not sure I understand. I moved the slider CSS up before the @media section. The @media section is the original code as I've done nothing to that. Are you referring to what looks to be extra parentheses like it shows below? Remove the last one?


    @media
    only screen and (max-width: 768px) {

    .home-slider .slide-excerpt {
    width: 100%;
    }

    }

    January 21, 2015 at 12:19 pm #138201
    Kim
    Member

    Okay, I should have checked....after moving the slider up the borders are gone. The @media section is exact to the original so I guess that's all I needed to do was move it! Yay! Thank you so much Marcy, I really do appreciate it!!!!!

    January 21, 2015 at 1:03 pm #138204
    Marcy
    Participant

    You're welcome!


    Marcy | Amethyst Website Design | Twitter

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