Financial Business Template - Change Top

GK User
Mon Aug 15, 2011 7:33 pm
How do I change the distance from the top of this Financial Business template?

under the top.jpg
User avatar
Senior Boarder

GK User
Mon Aug 15, 2011 9:06 pm
Code: Select all
#gk-top {margin-bottom: ___px} for instance.
User avatar
Expert Boarder

GK User
Tue Aug 16, 2011 4:55 am
Ok. Only with margin-top working in template.css:
Code: Select all
#gk-top { margin-top: 5px; }
User avatar
Senior Boarder

GK User
Tue Aug 16, 2011 5:00 am
Margins define the space between tables, you can have it as an example:

Code: Select all
margin: 40px 60px 10px 10px;


Which is the ideal to compile CSS and make it load faster, or the way you specified. In this particular case you could have it this way:

Code: Select all
margin: 5px 0 0;


Which equals to

Code: Select all
-top: 5px
-right: 0
-bottom: 0
-left: 0


If you have on your template:

Code: Select all
#gk-top { margin-top: 5px; }


Means that top is 5px from top, so add on this sytle:

Code: Select all
#gk-top { margin-top: 5px; margin-bottom: 20px}


"20px" been an example, or this way:

Code: Select all
#gk-top: {margin: 5px 0 20px;}
User avatar
Expert Boarder


cron