• Resolved msk5400

    (@msk5400)


    I have 3 HFCM snippets configured, one of each type (HTML, Javascript and CSS). The HTML and Javascript snippets are inserting correctly into the page. However, the CSS snippet is not inserting. HFCM is inserting the pre- and post- comments into the page, but not inserting the actual CSS.

    Thank you for your help!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author DraftPress Team

    (@draftpress)

    Instead of using the CSS code editor directly, try wrapping your CSS rules within <style> tags. This is a common practice for inserting CSS styles into HTML documents, and it may resolve the issue you’re experiencing with HFCM.

    Here’s how you can do it:

    1. Go to the snippet editor in HFCM.
    2. Instead of entering your CSS rules directly, add the following lines at the beginning and end of your CSS code:

    <style> /* Your CSS rules go here */ </style>

Viewing 1 replies (of 1 total)
  • The topic ‘CSS snippet not inserting’ is closed to new replies.