Home>Support>The Style tag renders as content in Inked Accordion

The Style tag renders as content in Inked Accordion

This is wild! I’m using Widgets for SiteOrigin‘s Inked Accordian widget on a page, and I placed a gallery shortcode inside each Accordion tab.

The widget works as expected, as does the Gallery and its lightbox function, but I can see actual CSS printed on the page. The

<style>
tag’s contents render as text.

How do I fix this?

Here’s the page.

HELP!

Thank you in advance

Krousen56

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 8 months ago krousen56

    This is not a bug! WordPress’s Gallery shortcode outputs a style tag with each thumbnail image. Placing style tags inside the body element is illegal in html5, WordPress should fix this in their Galley shortcode.

    I found a plugin, “Gallery Shortcode Style to Head”, which places the style tags in the head, and not print them to the body.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More