Support » Themes and Templates » Remove Top Margin

  • Hi

    m using tiny forge theme and want to remove top and bottom margin of website. I tried a lot with styl.css but not sucess. anyone can tell me the exect code or solution for this

Viewing 3 replies - 1 through 3 (of 3 total)
  • Could you post a link to the page? It’d be easier to locate the right selectors for the CSS.

    Hi, do you mean the margins of the white page (the entire page?) so that you don’t see the orange bit on top and bottom?

    If this is the case, here’s the CSS rule you need to find on the CSS document (I hope you’re using a child theme or custom css plugin):

    body .site {
        box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
        margin-bottom: 3.42857rem;
        margin-top: 1.71429rem;
        padding: 0.857143rem 2.85714rem 0;

    If you replace the above values of margin-top and margin-bottom with 0 (i.e., margin-top:0; margin-bottom:0;) this eliminates the top and bottom margins of the entire page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Top Margin’ is closed to new replies.