Welcome, Guest
Username: Password: Remember me

TOPIC: Increase margin of main component body text

Increase margin of main component body text 8 years 5 months ago #4945

  • kjensen
  • kjensen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi there,

I've been trying to increase the margins within the component box around my body text.

I've tried inserting the code, "margin:100px 50px;" into the ot_spa salon template typography.css file, here:
}
body{
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 135%;
margin:100px 50px;
padding: 0;
}

but it doesn't work.

How can I increase the margins, or where is the right place to insert the code if it isn't the typography.css file?

Thanks!
The administrator has disabled public write access.

Re: Increase margin of main component body text 8 years 5 months ago #4948

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 908
  • Thank you received: 568
  • Karma: 25
Hi,
You should add your css to customs.css.

Also, did you want add margin to all site or just the main content (not left sidebar, not header, not footer )?

If you want add space around the main content, you should add this into customs.css:
.ot-content{
    padding: 100px 50px;
}

If possible, please post a screenshot with indicator so we can understand your need.

Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.
Time to create page: 0.189 seconds