Home>Support>How to remove margin value from menu to 1st row?

How to remove margin value from menu to 1st row?

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

There seems to be a margin value between menu-bar and first row in the page. So, first row has image is away from menu-bar about 100px.
I want to remove the term cause the margin value. So, I want for the two elements to be continued.

How do I should do?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Hi Yoon

    Insert the following under Appearance > Custom CSS:

    #main { padding-top: 0; }
    

    or if you just want to apply it to the home page:

    .home #main { padding-top: 0; }
    

    Then you’ll also need to edit the first row in Page Builder, under the Attributes tab on the right, insert the following:

    no-top-padding
    

    Then under Appearance > Custom CSS, insert the following:

    .layout-full .no-top-padding.panel-row-style {
    padding-top: 0;
    }
    
  2. 10 years, 10 months ago 윤정완

    Hi there.

    Thanks for answering.
    I could remove the space in homepage as to insert

    #main {
    padding-top: 0;
    margin-top: 0;
    }

    But, in post, the space is still be.
    What I should do to get rid of the space in post page?

    Sincerely.
    Jove

  3. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    That should be applicable for posts too. Perhaps send through a link to a post concerned and we’ll take a look. Thanks.

  4. 10 years, 10 months ago 윤정완

    That problem is occured on links in this page –
    http://www.sharewhere.co.kr/search/#search/%EC%B0%BE%EC%9C%BC%EC%8B%A0+%EA%B3%B3%EC%9D%80+%3A=%EC%84%9C%EC%9A%B8

    Plz, check the page and give a fine solution.
    Wating.

    Thanks.

    Jove.

    2015-02-16 17:20 GMT+09:00 Andrew Misplon <
    forum+7520-u17512-b4f22dc0cb61f10ae371452d29e9df921465b533@siteorigin.com>:

  5. 10 years, 10 months ago 윤정완

    Adding one thing. I've modified "content-single.php" file.
    I've inserted this code :

    <h1 class="entry-title" style="display: none; height= 0px;"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to
    %s', 'vantage' ), the_title_attribute( 'echo=0' ) ) ); ?>"
    rel="bookmark"><?php the_title(); ?></a></h1>

    style="display: none; height= 0px;" <– To remove title.
    Because, if the code isn't , title is apeared next top menu bar.

    ……….

    2015-02-23 23:19 GMT+09:00 윤증원 <[email protected]>:

  6. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Jove

    Try the following to help with posts:

    /* Posts */
    
    .post .entry-header {
    display: none;
    }
    
  7. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Sure, the modification you’ve made to content-single.php is fine. You must just then make a copy of that file and place it in a child theme to avoid losing that change the next time you update the theme. However what I’ve provided above should do the same thing with CSS.

  8. 10 years, 10 months ago 윤정완

    Where I should insert that code? In content-single.php ?

    Anywhere in content-single.php?

    Thanks.
    Jove.

  9. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Sorry, that should go under Appearance > Custom CSS. Thanks.

  10. 10 years, 10 months ago 윤정완

    I inserted the code in style.css.
    The problem is disapeared.
    Fantastic.

    Thank you. :)
    Jove.

  11. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear that did the trick.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More