user3292026 user3292026 - 2 months ago 5
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 http://www.ftina-pc.gr/demo/ 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

Try to add

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