This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

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

Resolved 11 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

11
  1. Andrew Misplon Staff 11 years, 1 month ago

    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. 윤정완 11 years, 8 days 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. Andrew Misplon Staff 11 years, 5 days ago

    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, 11 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, 11 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. Andrew Misplon Staff 10 years, 11 months ago

    Hi Jove

    Try the following to help with posts:

    /* Posts */
    
    .post .entry-header {
    display: none;
    }
    
  7. Andrew Misplon Staff 10 years, 11 months ago

    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, 11 months ago

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

    Anywhere in content-single.php?

    Thanks.
    Jove.

  9. Andrew Misplon Staff 10 years, 11 months ago

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

  10. 윤정완 10 years, 11 months ago

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

    Thank you. :)
    Jove.

  11. Andrew Misplon Staff 10 years, 11 months ago

    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.

Have a different question or issue?

Start New Thread