• 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

Sticky Sidebar

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 › Sticky Sidebar

This topic is: resolved
  • This topic has 1 reply, 1 voice, and was last updated 8 years ago by rogerp.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 30, 2018 at 11:20 am #220389
    rogerp
    Participant

    I am trying to implement a sticky sidebar with the following code in style.css but it's not working

    /* sticky Sidebar */

    @media
    only screen and (min-width: 1024px) {

    .content-sidebar-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    }

    .sidebar-primary .widget:last-child {
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    }

    .admin-bar .sidebar-primary .widget:last-child {
    top: 72px;
    }

    }

    I get the error in code
    Expected (Static | Abosolute | Relative | Fixed ) but not found -webkit sticky

    It might be to do with oveflow:hidden

    .site-container .menu-toggle {
    background: transparent;
    border-width: 0;
    color: #fff;
    display: block;
    margin: 0 auto;
    /* overflow: hidden; /*

    But I comment that out and no change?

    Any Ideas?


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

    http://www.rogerperkin.co.uk/blog/
    May 30, 2018 at 3:09 pm #220396
    rogerp
    Participant

    This is working now as configured above, css must have been cached for a bit


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Sticky Sidebar’ 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

© 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