Skip to main content
Oct 26, 2022 7:34 AM UTC
Solved

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,

Oct 28, 2022 2:20 PM UTC

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,

2 replies

Oct 27, 2022 6:04 AM UTC

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.

pshashipreethamAuthorAnswer
Oct 28, 2022 2:20 PM UTC

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,