- This topic has 11 replies, 3 voices, and was last updated 1 year, 11 months ago by Leo.
-
AuthorPosts
-
May 18, 2022 at 4:59 am #2223513Douglas
Hello, I have a problem with the Generate Press elements. I have a section (template) that I activate according to the category of the item. I have created a Hook to work with Elements.
On desktop everything perfect, the problem is on mobile, Elementor has the option to Regenerate CSS Styles, this works, but only regenerates the styles in a category.
I did the test putting directly the section, without Elements, and the responsive goes well. I think it is a problem of the GP Premium plugin with Elementor.
I don’t think it’s the custom Hook, as on another site I’m using the same logic but directly with a GP Hook.
Could you guys give me a hand with this?
May 18, 2022 at 5:22 am #2223540DavidStaffCustomer SupportHi there,
i am not noticing any difference between the responsive behaviour across those 4 URLS.
Is it on a specific device or browser? Have the browser caches been cleared ?May 18, 2022 at 5:32 am #2223551DouglasI have deactivated plugins and removed everything that is cache. Here are two links in PRO, please check them in mobile. They are the links where I have the errors. π
Can you see the error?
May 18, 2022 at 7:41 am #2223645DavidStaffCustomer SupportSo i checked the first link
la-adelita-botanero
on my iphone in Safari, and i can see you have some narrow columns.
Using the developers tools to inspect my mobile safari i see this:As you can see all the CSS is coming from Elementor, and the column width 100% rule for mobile is being overwritten by the desktop CSS rule that is more specific.
So i can’t see what GP has to do with it. Have you checked with Elementor support ?
May 18, 2022 at 7:48 am #2223671DouglasYes, Elementor is working well in the first instance. The first 4 links I shared with you have the same error. For example /top-10-contact-form-plugins/ on mobile does not show the positions it should. On the other hand /3-awesome-security-plugins-for-wordpress/ this other post does. That’s because when the solution is done from elementor, it only applies an layout. https://prnt.sc/PRMf0l4cqJW5
May 18, 2022 at 7:52 am #2223835DouglasFor example, so as I see in one case, https://prnt.sc/mh0OOeopvanR and in the case that it does show the styles well I see it like this https://prnt.sc/Uemjytb3PZ1u
May 18, 2022 at 7:53 am #2223838DouglasWhen testing, the error occurs when I use the hooks π
May 18, 2022 at 7:57 am #2223850DouglasResponding to the image you shared with me, the error is the same in both of them, it doesn’t get the CSS styles right in all of them, only in one. And it is because of the Hook. If I don’t use the Hook, the elementor responsive is fine. π
May 18, 2022 at 8:01 am #2223856DouglasIn the case of the image you gave me, I have two of the same hook with different rules, i.e., it is displayed according to category. But the hook is having a problem of incompatibility, could it be? https://prnt.sc/Q8Eqr0XRALRP
May 18, 2022 at 8:08 am #2223865DavidStaffCustomer SupportYou need to check with Elementor support.
The Theme has no influence over how Elementor generates its CSS.
And as you can see from my screenshot:https://generatepress.com/forums/topic/problem-with-css-styles-in-hook/#post-2223645
The CSS is 100% from Elementor.
May 18, 2022 at 8:09 am #2223870DouglasJust one detail, if you click on https://prnt.sc/PRMf0l4cqJW5 you will notice that the correct display will change.
May 18, 2022 at 9:46 am #2223962LeoStaffCustomer SupportAs David mentioned, you will need to check with Elementor’s support on this.
Please be mindful of what we can support here:
https://generatepress.com/what-support-includes/Thanks for your understanding π
-
AuthorPosts
- You must be logged in to reply to this topic.