Skip Navigation

[Resolved] styling a huge dropdown list

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 4 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2712771
Schermafbeelding 2024-08-08 125127.png

Hi i've made a new account for you. When an artist has to categories his new art, he/she gets a huge dropdown list to choose from. It contains topcategories with sub categories. How can i make the topcategories standout with CSS? Sorry, i know a little CSS but i can't figure out this one.

#2712785

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and admin access details and what form you are using.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2712975

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

You can ask the supporter to pass the ticket to me or you can share the ticket link with me.

Regarding this ticket - I've added the following code to "Custom JS" section of your form:
=> hidden link

jQuery(document).ready(function($){
  
  $('select[name="kunstwerk-categorie[]"] option').each(function(index,ele){
  
    	if($(this).data('parent') == -1){
        	$(this).attr("style","font-weight:bold;");
        }
    	
  });
 

});

Please check: hidden link

#2712979

That's great, thanks again!

The other ticket is here: https://toolset.com/forums/topic/need-help-making-image-clickable/#post-2712978

#2713358

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok you can mark this ticket resolved.