• Resolved Greg deJong

    (@dwegowy)


    Good looking, promising plugin for my needs.

    However, I think an issue I’m seeing is that the CSS loaded to the page by the plugin includes at least one global selector, * , that applies margin: 0 and padding: 0 to everything on the page. It impacted my site by, for example, removing margins between body paragraphs. If I’m correct about this, then the CSS in the plugin needs to be changed so that it only uses selectors that have been built into the plugin’s output.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Greg deJong

    (@dwegowy)

    I found the problem CSS entry in

    html5-audio-player/blocks/dist/blocks.style.build.css

    …removed the line and saved the file (which is now empty; that was the only CSS entry), and the issue is fixed. I haven’t noticed any unintended effects on the plugin or its output. Looks like I was able to leave the similar global tag in the adjacent blocks.editor.build.css.

    Would still suggest looking at what purpose that line serves, and whether the other wildcard style should be more specific to some plugin-related output.

    Plugin Author Abu Hayat

    (@abuhayat)

    Hi @dwegowy
    Thanks for your feedback. I have forwarded the issue to the relevant Maintainer / Developer. He is on a vacation for 4 days. Hope he will update you soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Global CSS selectors a problem’ is closed to new replies.