• Resolved neo2k23

    (@neo2k23)


    Hi There elelement pack developers

    The plugin is adding global wild card css that changes all elements in each other plugin and theme to box-sizing: border-box


    It is done in the ep-helpers.css and has the following css

    <code>*, *::before, *::after{box-sizing:border-box}</code>


    The css sets every element as well as each elements before and after pseudo classes (*, *::before, *:: after) to box-sizing:border-box. You can not do such as this is against all coding standards. This kind of global wildcard css causes mayor issues in websites.

    You can not change every element to border-box as the browser default is content-box.

    Could you please revert this and address only your own elements by css. I am aware that this cause more work on your css, but it is the only right way of coding.

    I am aware that of the fact one can create css to override your css. But you are now FORCING all themes and plugins to do this. This is not the correct way to do such.

    Please revert this code change as this is against all coding policies. Even here at wordpress there is not a single plugin doing this.

    Thank you.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Thank you neo2k23. I came to post about this as my menus and many sections of my website were totally screwed up by this. I had to downgrade my elementpack in order to get all my content back. I could see the element but am not skilled enough to have understood the impacts as I am not a coder.

    Given what you described why would element pack do such a thing? It makes no sense.

    ElementPack. Please remove this offending css. You demolished a ton of content on my website. I did some reading now and global css like this is a big no as a practice so why?

    Please fix asap. I cannot update if you keep this and instead I will be forced to remove element pack (i own pro) from my website and cease using it.

    Plugin Contributor Maudud Hossain

    (@maudud)

    Hello @neo2k23, @maxcom
    Sorry for the inconvenience and also sorry for the late reply.

    You will be glad to know that we already updrade this CSS.

    We will push this fixing in the next version that would be ASAP

    Best Regards,
    Maudud Hossain
    Software Engineer
    [email protected]

    Thread Starter neo2k23

    (@neo2k23)

    @maudud Thank you for your reply. This is great news to hear. I am glad you could fix this issue, and that you took my request seriously. Great support! Have a good weekend.

    Plugin Contributor Maudud Hossain

    (@maudud)

    Hello @neo2k23,
    It’s our pleasure to assist all of our well-wishers.

    For your kind information, update already released. Please take an update and let us know if your problem fixed or not?

    Best of luck with your website building.

    Thanks

    Maudud Hossain

    Thread Starter neo2k23

    (@neo2k23)

    @maudud Thank you for the update. It is fixed as you are now only addressing bdt– elements. My issues are fixed.

    The css change is perfect

    [class*=”bdt-“] *,
    [class*=”bdt-“] *::before,
    [class*=”bdt-“] *::after{box-sizing:border-box}

    Resolving all my issues.

    have a great week & thanks again

    Neo.

    Hi, what build is it fixed in? I downloaded Element Pack Pro version 6.15.1 and it does not appear to be fixed in that build. Nor does the Element Pack Pro changelog indicate it is fixed.

    Plugin Contributor Maudud Hossain

    (@maudud)

    Hello @maxcom,
    We are really sorry for the inconvenience. We could not release Element Pack Pro for some other tasks. No worries, we will release an update by this week.

    Till then we appreciate your kind patience.

    Best Regards,
    Maudud Hossain
    Software Engineer

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Element Pack changes all elements box-sizing to border-box’ is closed to new replies.