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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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
1 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

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
Top Tags