• 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

Center Image in Responsive Slider?

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 › Center Image in Responsive Slider?

This topic is: not resolved

Tagged: centered, responsive slider

  • This topic has 4 replies, 3 voices, and was last updated 10 years ago by Pinky.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 16, 2013 at 1:14 pm #28260
    Mark
    Member

    I'm using the Legacy theme and have the Genesis Responsive Slider on my home page.

    All of the images on my pages have  proportions of about 640x480. I'd like to show the full image centered within the slider. Currently it sits flush left with nearly 300 pixels of nothing to the right except an arrow hanging out there.

    Is it possible to specify that the images be centered?

    Thanks.

    March 17, 2013 at 1:17 pm #28635
    asdweb
    Member

    Post a link to your site so we can look at it.


    Amy Susan Design.com @AmySusanDesign

    March 18, 2013 at 7:04 am #28960
    Mark
    Member

    Thanks. I built the site on my computer and have spent far too much time trying to transfer it to the Yahoo host (it's where the owner set things up),

    Here's the site: detailsmakethedifference.com

    Any thoughts are appreciated.

     

    March 18, 2013 at 8:21 am #28978
    asdweb
    Member

    add this to style.css

    ul.slides img {
    margin: 0 165px;
    }

    div.slide-image {
    background-color: #f1f2f1;
    }

    You may need to adjust the margin to suit.
    The background-color replaced the white, if you'd want to do that.


    Amy Susan Design.com @AmySusanDesign

    March 18, 2013 at 8:36 am #28985
    Pinky
    Member

    Hey Mark

    If you add this to your style.css it will center the images for you.

    .flexslider .slides {
    margin-left: 140px;
    }
    

    If you want to get rid of the white area, you can go to line 129 of your style.css and replace this:

    .flexslider {
    background: #fff;
    position: relative;
    zoom: 1;
    }
    

    With this:

    .flexslider {
    background: none;
    position: relative;
    zoom: 1;
    }
    

    Hope that helps


    cheers

    Pinky

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