[Support request] Problem with CSS styles in Hook

Home Forums Support [Support request] Problem with CSS styles in Hook

Home Forums Support Problem with CSS styles in Hook

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2223513
    Douglas

    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?

    #2223540
    David
    Staff
    Customer Support

    Hi 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 ?

    #2223551
    Douglas

    I 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?

    #2223645
    David
    Staff
    Customer Support

    So 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:

    2022-05-18_15-36-10

    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 ?

    #2223671
    Douglas

    Yes, 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

    #2223835
    Douglas

    For 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

    #2223838
    Douglas

    When testing, the error occurs when I use the hooks πŸ™‚

    #2223850
    Douglas

    Responding 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. πŸ™‚

    #2223856
    Douglas

    In 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

    #2223865
    David
    Staff
    Customer Support

    You 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.

    #2223870
    Douglas

    Just one detail, if you click on https://prnt.sc/PRMf0l4cqJW5 you will notice that the correct display will change.

    #2223962
    Leo
    Staff
    Customer Support

    As 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 πŸ™‚

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