Skip to main content
pshashipreetham
18-Opal
October 26, 2022
Solved

Static Mashup Alignment in Center

  • October 26, 2022
  • 2 replies
  • 1107 views

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,

Best answer by pshashipreetham

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

17-Peridot
October 27, 2022

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.

pshashipreetham
pshashipreetham18-OpalAuthorAnswer
18-Opal
October 28, 2022

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 || +91 8099838801