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

The Style tag renders as content in Inked Accordion

By krousen56, 8 years ago. Last reply by krousen56, 8 years ago.

I a thread in the

bug-reports
, but I thought I would repost this so everyone can read it!

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

    I solved the problem, well I fixed it using a plugin. The problem is WordPress’s Gallery shortcode outputs a style tag with each image thumbnail. This is illegal in html5.

    There is a plugin to fix this: “Gallery Shortcode Style to Head”. This plugin places the style tag in the head, where it belongs.

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