Skip Navigation

[Resolved] Remove CSS from Search & Reset filter button

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the Search and Reset filter buttons on the customers view was getting some default styling and he wanted to remove those styling.

Solution:

Unfortunately the default styling was being produced by the theme as views does not include any default styling for these buttons.

It is advised to check your theme's documentation to see what default styles will be applied to buttons

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Charles 7 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#555829

Support,

I am trying to remove all CSS from the search and reset button.
My current buttons: hidden link

My Filter Editor Search code:

      [wpv-filter-submit name="Search" type="button" class="button-primary" style="float:left"]
</code

My Filter Editor Reset: code:
[php]
	  [wpv-filter-reset type="button" class="button-primary" style="float:right"]

I remove the bootstrap output code from both options, thinking that's what was giving each button the CSS, but that did not fully solve the problem.

Thanks,
Chuck

#555840

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Charles,

Thank you for contacting our support forum.

It seems that your theme might have some default styling for these buttons because views does not style these at all.

I would suggest checking your theme's css file for the styling information.

Thanks,
Shane

#555842

Thanks Shane. I'll dig through the theme.

Best,
Chuck