• Resolved gernik

    (@gernik)


    Hello. I want to ask the following:
    -How can I add space at the top of the theme (lets say 20px.).

Viewing 4 replies - 1 through 4 (of 4 total)
  • In your Child Theme or CSS Editor Plugin try this code:

    #top-bar {
        margin-top: 20px;
    }

    *Note
    If your theme has a custom CSS Editor in it, you can also paste the code in there.

    Never edit core CSS or PHP files under Appearance > Editor. Your edits will be deleted when the theme is updated.

    Thread Starter gernik

    (@gernik)

    Thanks a lot for the answer Northwoods Creative!!! It worked!!!
    But i have another problem now.
    If i disable the top menu bar (from forntier options). The margin is gone.
    Is there a more grobal command for the entire site?
    And if it’s possible i also want a margin at the bottom of the site.

    Sure sorry about that.

    Appearance > Frontier Options > Custom CSS >

    #container {
      margin-top: 20px;
      margin-bottom: 20px;
    }

    Should work with or without the top bar active.

    Just remove the previous code I had given.

    Thread Starter gernik

    (@gernik)

    Works perfectly!!!
    Thanks again!!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add space at top’ is closed to new replies.