user3292026 user3292026 - 29 days ago 3x
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 ?


Try to add

#productTabs > li {
    float: none;
    display: inline-block;