Sunday, July 29, 2012

Center Header


Today I have a request from my besties . She asked me how to center the header . What is center header ?

From side


To center


Can you see ? So , here I will teach you how . 

1) First , you must log in your blog . Go to Dashboard > Design > Edit HTML

2) Press Crtl + F, and find the code below :

/* Content
3) Copy the code below , then paste on code just now .

.Header img {
  margin-$startSide: auto;
  margin-$endSide: auto;
}

4) Understand or not ? Look at the example above


.Header img {margin-$startSide: auto;margin-$endSide: auto;} 

/* Content----------------------------------------------- */

5) Now finish !! You should preview first . If don't have any problem or error . You may save :)


No comments:

Post a Comment