Skip to main content
16-Pearl
December 24, 2024
Solved

CSS styling for Menu Widget

  • December 24, 2024
  • 2 replies
  • 2276 views

Hi Team,

 

I need help in CSS styling in Menu widget - In my requirement I have list of menu items should be listed from dynamic service, in that "title" should be like below (Font-weight : Semi-Bold; upto dot and Font-weight : normal; after dot)

  • Menu1.Sample Page
  • Menu2.Sample Page
  • Menu3.Sample Page

I tried with below CSS it helped with me updating all text as semi bold.

 

 

.menuList .widget-menu .menu-item-name span {
 font-weight: 600 !important;
}

 

 

TWX : 9.6.2

Thanks & Regards,

Arun C

Best answer by PEHOWE

Hello @Arun_C ,

 

The format you are requesting is not a supported configuration. I would recommend that you add your desired format as a enhancement request.  Make a posts in the "ThingWorx Ideas" group.
 


Regards,
pehowe

2 replies

16-Pearl
December 24, 2024

Hi @Arun_C  Can you try the steps of the below post, and let us know your output?

https://community.ptc.com/t5/ThingWorx-Developers/applying-css-to-menu/m-p/729042#M52103 

Arun_C16-PearlAuthor
16-Pearl
December 29, 2024

Hi @Surya_Tiwari ,

 

CSS which I'm looking out is different. The above given CSS has different use case but the same is working for me in hover. Help me with my use case Menu "title" should be display like below (Font-weight : Semi-Bold; upto dot and Font-weight : normal; after dot)

  • Menu1.Sample Page
  • Menu2.Sample Page
  • Menu3.Sample Page

Thanks & Regards,

Arun C

 

17-Peridot
January 6, 2025

Hello @Arun_C ,

I am not familiar with the style you are  trying to accomplish.  The documentation has 2 style described, cascading and Nested according. 
If I understand your goal is to have the main menu item repeated on each line with the sub menu item on the end with a dot as a separator. 
The other customization is to have the main menu item BOLD.

I will see if the experts on using CSS can offer any suggestion. Please let me know I have the proper goal.

Regards,

Pehowe

PEHOWE17-PeridotAnswer
17-Peridot
March 18, 2025

Hello @Arun_C ,

 

The format you are requesting is not a supported configuration. I would recommend that you add your desired format as a enhancement request.  Make a posts in the "ThingWorx Ideas" group.
 


Regards,
pehowe

Arun_C16-PearlAuthor
16-Pearl
March 28, 2025

Hi @PEHOWE ,

 

 Thank you for the confirmation. I will post it in 'ThingWorx Ideas' group.

 

Regards,

Arun C