Skip Navigation

[Resolved] Arrow(s) not showing on drop down controls

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

Problem:

Change the field background with CSS codes.

Solution:

It needs custom CSS codes, see details here:

https://toolset.com/forums/topic/arrows-not-showing-on-drop-down-controls/#post-1147003

Relevant Documentation:

This support ticket is created 6 years, 2 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by ScottH7099 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1146998

I am trying to: Create custom search drop downs.

Link to a page where the issue can be seen: hidden link

I expected to see: Normal down or up/down arrows at the far right end of dropdowns in all browsers.

Instead, I got: Nothing. This happens in Firefox 63.0.1 on my desktop and 63.0.2 on my Galaxy S7 cell phone. Arrows show fine in MS Edge and Chrome.

NOTE: I do not believe Enfold loads Bootstrap; I believe they use their own responsive grid css. I have loaded Bootstrap CSS for the grid columns only to support Bootstrap output for Toolset. However since the other browsers show the arrows ok, I don't think this is it.

NOTE 2: This is on my development machine, not a live, public server.

Any ideas?

#1147003
select-background-image.JPG

Hi,

First, there isn't such a built-in feature to display up/down arrows in dropdowns within Views plugin.

I have checked the URL you mentioned above, it is using some custom CSS codes to style the dropdowns, see your theme file:
hidden link
line 358:

#top select, #top .avia_ajax_form .select, #top .entry-content-wrapper select{
 -webkit-appearance: none;
border-radius:0px;
background-image: url(data:image/png; .... );
 background-position: center right;
 background-repeat: no-repeat;
 border-radius: 2px;
}

It seems that above CSS codes isn't compatible with Firefox 63.0.1 or Galaxy S7 cell phone.

In your case, you can try these:
1) Contact your theme author to fix the problem for all browsers.
2) Use custom CSS codes to override it, display without up/down arrows, for example:

select[id*='wpv_control_select_']{
    background-image: none !important;
}

See screenshot, select-background-image.JPG

#1147665

Hi Luo:

Thanks for the tip. Actually the css code at line 358 was being overridden by code further down at line 37 where there already was a background-image: none. I got it taken care of though, thank you!

Scott

#1147666

My issue is resolved now. Thank you!