Jump to content

[solved] Product list homepage add margin


Recommended Posts

global.css file located in your theme directory

 

you've got there:

.homefeatured ul li {
float: left;
width: 25%;
padding: 0 2%;
position: relative;
}

 

you can add margin: 10px; there

also you can add it to the image only

 

.homefeatured ul li img {
margin:10px;
}

Link to comment
Share on other sites

You can also change this to something like below, this will give paddings and margins and center the three products on the page.

 

.homefeatured ul li {

float: left;

width: 250px;

padding: 0px 20px 40px 100px;

position: relative;

}

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...