Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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,
Solved! Go to Solution.
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,
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,