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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Static Mashup Alignment in Center

pshashipreetham
17-Peridot

Static Mashup Alignment in Center

Hello.

I have a static Mashup; it is left aligned, but as per the client's requirement, it needs to be center aligned on a page/screen; how can we do that?

All the Widgets or the whole design are in a single container(which is static). Alignment is not possible for it.

Any CSS that can be added to the Container to align it in the center?

Thanks,

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

Accepted Solutions

Hey,

This issue Got fixed by simple CSS Code; since all my Static Widgets are in a single Container, Using a Container CSS, I aligned it in the center. Therefore everything Centered!
Code:

 

 

.widget-container{
    margin:0 auto;
}

 

 


Thanks,

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

View solution in original post

2 REPLIES 2

Not sure about CSS.

Try with empty mashup on top of using navigation popup... can make center screen.... Or convert the static mashup into responsive.

Hey,

This issue Got fixed by simple CSS Code; since all my Static Widgets are in a single Container, Using a Container CSS, I aligned it in the center. Therefore everything Centered!
Code:

 

 

.widget-container{
    margin:0 auto;
}

 

 


Thanks,

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


Top Tags