• Resolved sergioh4l

    (@sergioh4l)


    Hi,

    I have created a custom form with the addon Custom fields, giving all fields a width of 50%, but the result is quite bad (you can see it here: https://vehiculoocasion.vayawebs.com/nuestros-coches/). Why is it shown like this and what can be done to fix it?

    I would also like to know how I can remove the “Category” field, as it is shown by default and I don’t want it to appear there.

    Thanks.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. this is some conflict with the theme CSS, you can fix it by going to wp-admin / Appearance / Customize / Additional CSS panel and adding there the code below

    
    .adverts-search .advert-input select {
        height: 33px !important;
    }
    

    2. if you do not want to use the category field then you can remove it using Custom Fields extension, if the category will not be filled for the Ad then it should not show on the Ad details page.

    Thread Starter sergioh4l

    (@sergioh4l)

    Hi,

    1. Thank you, Greg, the first problem is solved with this CSS!

    2. The problem is that I don’t have this field on the configuration of the form. I have placed the “Marca” field, which is the first of all and makes a call to the categories, but the “Categoría” field that appears in the search form is not placed in the configuration of the form. I attach this image where you can see that the field is not there: https://ibb.co/mJtawV

    Plugin Author Greg Winiarski

    (@gwin)

    2. any chance that in wp-admin / Plugins panel you have the Search By Category snippet installed and activated (or maybe you have code for this snippet in theme functions.php file)?

    This snippet is run after Custom Fields extension and the field it adds to the search form are not visible in the editor.

    If you do have this snippet or plugin then disable it, this should remove the category field.

    Thread Starter sergioh4l

    (@sergioh4l)

    Yes, the Search By Category plugin was installed, I uninstalled it and it no longer appears.

    Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem with custom search form’ is closed to new replies.