• 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 Genesis Responsive Slide Excerpt

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 › General Discussion › Center Genesis Responsive Slide Excerpt

This topic is: not resolved

Tagged: genesis responsive slider

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 11 months ago by Christoph.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 4, 2015 at 5:19 pm #154895
    hannab
    Member

    Hi, on this site http://virginiatruckee.com/newsite/ I want to center the slider excerpt both in height and width. I want the text "I hear that whistle blowin'!" and the ticket button to be in the middle of the image. (The text "Special Events" is part of the mock image and will be removed).

    I can't find any help on here how to do this. Please help!

    //Hanna


    If you’re not living on the edge, you’re taking up too much space.

    June 4, 2015 at 7:15 pm #154922
    Christoph
    Member

    Hi Hanna,

    add width: 100%; around line 942 of the style.css :

    html > body .content .slide-excerpt-border {
        border: medium none;
        padding: 30px;
        width: 100%;
    }

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    June 5, 2015 at 12:51 am #154960
    WisdmLabs
    Member

    Hey Hanna,

    To get your text in center vertically as well as horizontally, add following lines to your style.css:

    At line 2388:

    .content .slide-excerpt {
    background-color: transparent;
    height: 100%;
    }

    At line 942:

    html > body .content .slide-excerpt-border {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    top: 40%;
    }


    http://wisdmlabs.com/

    June 5, 2015 at 9:12 am #154985
    hannab
    Member

    Thank you WisdmLabs and Christoph,
    I edited the code but all that happens is that the text block now is top left instead of bottom left. Not center, center.

    Any more ideas?

    Thanks,
    Hanna


    If you’re not living on the edge, you’re taking up too much space.

    June 5, 2015 at 10:19 am #154995
    Christoph
    Member

    Hi,

    sorry, I overlooked that I had scrolled down on my laptop last night so it looked centered in height.
    Thanks for catching my oversight, @WisdmLabs!

    WisdmLabs code looks like this on my computer:

    http://screencast.com/t/HCJkyAyD

    I would suggest to check for a typo, a missing ; or }


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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

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