Site logo

[Resolved] Restrict Content Pro conflicts

Home Forums Support [Resolved] Restrict Content Pro conflicts

Home Forums Support Restrict Content Pro conflicts

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2410316
    Philippe

    Hi,

    I saw that Restrict Content Pro plugin is often recommended by Generatepress support (or at least mentioned). However, I could not find answers to my issues with it.

    Basically, RCP prevents other plugins from working at all, such as Sticky Sidebar and Pop-up Maker. But it also prevents sticky navigation in Generatepress from working too.

    Not having a fixed sidebar is an absolute no-no for me.

    Thanks for your help,

    #2410369
    Ying
    Staff
    Customer Support

    Hi Philippe,

    It seems a issue of the RCP plugin, it sounds like it’s blocking JS from loading.

    Have you reached out to their support? I think they might have some insights.

    #2410559
    Philippe

    Hi Ying,

    I did contact them. I’ll let you know how it goes.

    #2411503
    Philippe

    Hi,

    For now, I just deactivated RCP and would like to try setting a fixed right-hand column with css.

    Can you help out with this?

    Thank you,

    Philippe

    #2411523
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to a page where i can see the sidebar ?

    #2411545
    Philippe
    #2411558
    David
    Staff
    Customer Support

    Ok, i see you already have this CSS on your site:

    
    @media (min-width: 769px) {
        .inside-right-sidebar, .inside-left-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 60px
        }
    }

    That will work, if you change the Customizer > General > Structure to Flexbox.

    IMPORTANT, that change is a one way change, it cannot be reversed. So if you select that option you should check for any issues before publishing the customizer changes. Or make the change on a staging server.

    If you don’t want to make that change then update the CSS to this:

    @media (min-width: 769px) {
        #content {
            display: flex;
        }
        .inside-right-sidebar, .inside-left-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 60px
        }
    }
    #2411623
    Philippe

    I did not change to Flexbox (what is the advantage of doing so, anyway?). The other script works, which makes me happy because RCP seems to take a lot of software real estate. Now, I will have to figure out how to make the Pop-up Maker work again.

    Thank you!

    #2411636
    David
    Staff
    Customer Support

    (what is the advantage of doing so, anyway?)

    It was a big change we made in GP 3.0.
    You can read more on that here:

    https://generatepress.com/generatepress-3-0-a-new-era/

    TLDR: It removed a lot of Grid specific CSS that GP required when using the old Floats structure as well as improved the way CSS is generated. Ultimately leading to quite a big performance improvement in terms of the number of resources GP loads and the size of those resources.

    #2411651
    Philippe

    Now that you tell me, I am going to change to Flexbox.

    It seems I miss registering for the Generatepress newsletter, if there is one.

    #2412317
    David
    Staff
    Customer Support

    You’re welcome!

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