Archived

This topic is now archived and is closed to further replies.

  • 0

Move body down using custom css


Question

Posted · Report post

Simply wondering what code I could use for the entire body to be moved down a certain number of px (working on the site http://lacydays.no

 

Thanks!

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

If you go to Dashboard > PageLines > Site Options > Custom Code in the CSS Rules area, the first, default line is

body {}

 

Between the curly brackets, if you add margin-top: 40px; it will move the body of the site down by 40px.  Change that to any measure you wish, however, it will likely render your site unresponsive for mobile devices.

 

If you need responsiveness, use a percentage in place of the pixel value, like 2.1%.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for your swift reply! I went for %!

Share this post


Link to post
Share on other sites