[resolved] Trying to increase the space at the top of the theme. (4 posts)

  1. clouder
    Posted 2 years ago #

    I have a child theme of twenty twelve. I activated it and it worked.

    Now I'm trying to edit the theme

    by using

    body .site {
    		padding: 0 40px;
    		padding: 0 2.857142857rem;
    		margin-top: 480px;
    		margin-top: 3.428571429rem;
    		margin-bottom: 48px;
    		margin-bottom: 3.428571429rem;
    		box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);

    Even after I press update file. The space at the top is still the same.

    Am I missing something?

  2. clouder
    Posted 2 years ago #

    P.S. The margin-top is originally 48px. I have changed it to 480px

  3. kevinhaig
    Posted 2 years ago #


    Why do you have 2 padding, margin-top and margin-bottom ?
    Only the last one loaded will apply, Get rid of one.

  4. clouder
    Posted 2 years ago #

    Thank you for you reply. Really appreciate it :D.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.