[Resolved] Move sidebar to rigt position

Home Forums Support [Resolved] Move sidebar to rigt position

Home Forums Support Move sidebar to rigt position

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1600454
    Lorenzo

    Hello, I personalize elementor FLINT SKIN generatepress theme, and i have a problem to move aside / sidebar to float right. I adding css in style.css

    #sidebar{
    width: 26%;
    float: right;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
    }

    But is dont work. Look capture

    Capture page

    Look capture

    #1600455
    Lorenzo

    Sorry, the capture is not the correct. Good capture

    Correct

    #1600589
    David
    Staff
    Customer Support

    Hi there,

    that pages is a buddypress template – you can try this CSS:

    @media(min-width: 769px) {
        .buddypress-wrap .wrapper {
            display: flex;
        }.buddypress-wrap .wrapper #content {
            flex: 1;
        }
        .buddypress-wrap .wrapper #sidebar {
            margin-left: 40px;
            flex: 0 0 26%;
        }
    }
    
    #1600958
    Lorenzo

    Hello, thank you for your help. I have added the code in /wp-content/themes/generatepress/style.css and after in /wp-content/themes/generatepress/buddypress/css/buddypress.css
    But is not working.

    Thanks agian for your help.

    Capture

    #1601059
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Making changes to the core theme folder isn’t a good idea, as you will lose those changes when you update the theme.

    Instead, try one of these methods: https://docs.generatepress.com/article/adding-css/

    Let us know ๐Ÿ™‚

    #1601148
    Lorenzo

    Thank you very much. Is resolved ๐Ÿ˜‰

    #1601158
    Lorenzo

    Sorry, the option css for made responsive the sidebar ?

    Thanks

    #1601482
    David
    Staff
    Customer Support

    I updated the CSS here:

    https://generatepress.com/forums/topic/move-sidebar-to-rigt-position/#post-1600589

    it will only apply to larger screen devices now.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.