• Resolved jgasba

    (@jgasba)


    I’ve reported this issue back in 2024 and this is still not fixed.

    Why should every single one of your thousands of users have their site altered by your public.css file while it is an easy fix by simply adding some masteriyo class in front of it?

    The public.css file has this code in it

    body {
    font-style: normal;
    }

    a {
    color: #3a3a3a;
    transition: all 0.3s ease-in-out;
    }
    a:hover {
    color: #4584ff;
    }

    a,
    a:focus,
    a:focus-visible,
    a:hover {
    text-decoration: none;
    outline: none;
    }

    p {
    margin-bottom: 0;
    }

    figure {
    margin: 0;
    }

    Which alters every element on the whole website, even if it is not a Masteryio page.
    This is very annoying and not a good practice.
    You don’t recommend removing public.css from the stack and it is understandable, but then fix those CSS selectors please !!!

    • This topic was modified 1 month, 3 weeks ago by jgasba.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aashil Bijukshe

    (@lihsaa)

    Hi @jgasba ,

    You’re absolutely right, those global CSS selectors should not be affecting the entire site.

    We will fix this by scoping the styles properly and only enqueuing public.css on Masteriyo pages or have proper selectors, so it won’t impact non-Masteriyo content. This will be in priority in our next sprint.

    Thanks for reporting this.

    Regards,
    Aashil

    Plugin Support Aashil Bijukshe

    (@lihsaa)

    We will update here once the enhancement is implemented in a future update. For now, we’re marking this topic as resolved. Feel free to open a new topic if you have any questions. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.