Make container only show when shortcode present

Forums › Forums › Search & Filter Pro › Make container only show when shortcode present

Viewing 5 posts – 1 through 5 (of 5 total)
  • Anonymous
    #106378

    I have (somehow, probably in my styling somewhere) a gray box that my search options generate in. However, it generates on product pages where there is no form inserted. Is there a way to have it only show when the form is generated?

    Anonymous
    #106379
    This reply has been marked as private.
    Trevor
    #106386

    You have set it with this custom CSS for the background:

    .post_content {
        width: 25%;
        background-color: #B8B8B8;
        height: relative;
        position: relative;
        margin-left: -2.5%;
        float: left;
    }

    Whereas the background might need to be on the form and removed from the post_content:

    .post_content .searchandfilter {
        background-color: #B8B8B8;
    }
    Anonymous
    #106407
    This reply has been marked as private.
    Anonymous
    #106487

    nevermind I figured it out! Issue Resolved!

    …Case Closed B)

Viewing 5 posts – 1 through 5 (of 5 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.