cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Mashup Popups (Navigation widget) are not centered when Using Media Queries

pshashipreetham
17-Peridot

Mashup Popups (Navigation widget) are not centered when Using Media Queries

Hello, 

When using the Media Queries, the pop-ups are not getting center aligned...
The following code for the Media query has been used in the mashup

Shashi_Preetham_0-1671630603886.png


Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

There is no solution for this at the moment. Each popup must be adjusted based on the media query used for each screen size. Therefore, using media queries is always a bad idea.

 

Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

View solution in original post

2 REPLIES 2

Hi @Shashi_Preetham.

 

We have a few questions/observations:

 

  1. You mentioned the screen size at the start of your code, but the media size exceeds that
  2. Your code doesn't contain anything regarding alignment
  3. What alignment are you seeing?  There is a horizontal alignment property.
  4. You mention the navigation widget in the Title.  What version of ThingWorx are you running?  The navigation widget is now a function.

 

Regards.

 

--Sharon

Hi,

 

There is no solution for this at the moment. Each popup must be adjusted based on the media query used for each screen size. Therefore, using media queries is always a bad idea.

 

Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Announcements


Top Tags