• Resolved Website Rob

    (@website-rob)


    Greetings,

    Really liking this theme and a couple of questions about it.

    1. What is this code for, just after the “body” element and why 6 separate instances since they are all hidden anyway?
      svg xmlns=”https://www.w3.org/2000/svg” viewBox=”0 0 0 0″ … /svg
    2. Any plans to upgrade the above URL to use https instead of http? Being as the former is more secure than the latter, would make sense, Yes?

    Appreciate your reply on this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author CrestaProject

    (@crestaproject)

    Hi @website-rob

    The hidden svgs that appear immediately after the body are not part of the theme.
    They are generated by WordPress itself since version 5.9, they should be part of the extra styles for Gutenberg.

    If you want to remove them, you can use a PHP snippet as shown on this page https://github.com/WordPress/gutenberg/issues/36834#issuecomment-1048923664

    Thread Starter Website Rob

    (@website-rob)

    Thanks so much for the direction. Worked like a charm.

    For anyone else interested, use a plugin like Code Snippets and add:

    remove_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' );
    remove_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' );

    Good Theme, Good Support – gotta like that. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘svg is doing whaaatttt?’ is closed to new replies.