user3292026 user3292026 - 1 year ago 94
CSS Question

Center a div in prestashop theme

What seems to be a simple task, I can't seem to make it work.
If you look at near the footer I need to make the carousel header to center.
I have added

#productTabs { display: inline-block;}
.tab_wrapper { text-align: center;}

This does center it but then I have problem with the width

I am trying to make it to look like
enter image description here

Can anyone please help me ?

Answer Source

Try to add

#productTabs > li {
    float: none;
    display: inline-block;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download