- This topic has 10 replies, 3 voices, and was last updated 3 years, 5 months ago by
David.
-
AuthorPosts
-
November 10, 2022 at 11:00 am #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,
November 10, 2022 at 11:42 am #2410369Ying
StaffCustomer SupportHi 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.
November 10, 2022 at 3:07 pm #2410559Philippe
Hi Ying,
I did contact them. I’ll let you know how it goes.
November 11, 2022 at 8:08 am #2411503Philippe
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
November 11, 2022 at 8:21 am #2411523David
StaffCustomer SupportHi there,
can you share a link to a page where i can see the sidebar ?
November 11, 2022 at 8:36 am #2411545Philippe
November 11, 2022 at 8:46 am #2411558David
StaffCustomer SupportOk, 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 } }November 11, 2022 at 9:26 am #2411623Philippe
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!
November 11, 2022 at 9:31 am #2411636David
StaffCustomer 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.
November 11, 2022 at 9:58 am #2411651Philippe
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.
November 12, 2022 at 4:42 am #2412317David
StaffCustomer SupportYou’re welcome!
-
AuthorPosts
- You must be logged in to reply to this topic.