[resolved] css styling (3 posts)

  1. manthono
    Posted 3 years ago #

    Hey there. This is a great plugin that i have been searching for.
    The plugin works great. Only the lay out breaks/doesn't work well with my theme.
    How do I target the search form and fields using custom css?
    Can I hardcode the search form into my theme?
    thanks so much


  2. Simon Dickson
    Plugin Author

    Posted 3 years ago #

    Glad you like the plugin!

    Yes, you can hardcode the form into the theme. In fact, that's how we would expect most people to use it. You can use a conventional WordPress template tag:

    facetious( array(

    or you might prefer to use:

    do_action( 'facetious', array(

    as this won't cause a PHP error if the plugin should ever be deactivated.

    One of the options you can specify in that array of arguments is id: that would allow you to target the Facetious form in CSS.

    The widget has a class facetious_form, which you could use, perhaps in conjunction with an ID for the particular sidebar.

  3. manthono
    Posted 3 years ago #

    Great! Thanks, Simon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facetious
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.