Jump to content

Hometabs in center of page


kolomvos

Recommended Posts

Hi, I'm trying to put hometabs in the center of the page, instead of left, but for some reason I can't get it to work. I've tried all text aligns and auto margins but no luck so far. I googled it but mysteriousl noone has answered this question :/ 

 

Any suggestions? I'm using the default theme with Prestashop 1.6.1.4

 

Thank you!

Link to comment
Share on other sites

No sorry, has nothing to do with the current websites in my signature

 

The default prestashop theme has tabs in the home page that say New Arrivals and Popular Products. By default they are left aligned and I would like to put them in the center of the page, like in the image below.

 

131.jpg

Link to comment
Share on other sites

No sorry, has nothing to do with the current websites in my signature

 

The default prestashop theme has tabs in the home page that say New Arrivals and Popular Products. By default they are left aligned and I would like to put them in the center of the page, like in the image below.

 

Try to do this in global.css:

@media (min-width: 768px)
#home-page-tabs {
    padding: 10px 0;
    margin-left: 33%;
}

<- Module Ask for product information in product page ->

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...