• Resolved toonbon

    (@toonbon)


    arconix-faq-css has styles for things like

    .arconix-faq-content p {
        padding: 0 !important;
    }

    but the FAQ HTML doesn’t generates <p> elements, it generates <span> elements:

    FAQ HTML

    So how do I style the content? Suppose I want to put a 15px margin-top before every paragraph, for example.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Gardner

    (@jgardner03)

    Hi,

    Thanks for using my plugin. The spans you’re seeing are not being generated by my plugin. If you don’t see those span tags in the text view of the individual FAQ page then there’s another plugin or something else adding those tags. This is what the HTML looks like on my demo site:

    Demo

    All that aside, if you want to override my CSS and can’t because of !important tags the best way to do so is to copy the arconix-faq.css from the includes/css directory to the root directory of your theme and then you can edit that file to your heart’s content. My plugin will load your file in place of the plugin’s.

    Please let me know if you need anything else.

    Thread Starter toonbon

    (@toonbon)

    Thanks John. The problem was that the text I dumped into the content editor was something I copied from an email, and it must have contained some strange embedded characters that the plugin didn’t like. When I ran the text through Notepad the <p>s showed up and I was able to style it.
    Thanks for responding.
    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Styling Item Content’ is closed to new replies.