Home>Support>Remove the space between the menu and the first image
  1. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Dori

    Thanks for reaching out.

    The easiest solution would be to install Meta Slider, https://wordpress.org/plugins/ml-slider/, once activated go to Meta Slider, create a slider and add a single slide, just the one image. Then go to your home page, remove the image widget you’re using. Lastly go to Appearance > Theme Settings > Home and assign your new slider as the home page slider. That’ll insert the single image directly under the menu.

    When editing any page you’ll find a Page Slider meta box in the right column. You can insert a slider on any page in the same position, directly under the menu.

    Let us know how you come along.

  2. 9 years, 3 months ago Dori M

    thanks Andrew
    but i need to do one thing and every RAW removed the space after and before
    is there any CSS can i use
    thanks

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

    Meta Slider would be my recommended method for this, even when using one image.

    If you’d like to resolve using Custom CSS, try the following at Appearance > Custom CSS:

    /* Page ID 202 */
    
    .page-id-202 #main { 
    padding-top: 0; 
    }
    
    .page-id-202 article.page .entry-header { 
    margin-bottom: 0; 
    }
    
    .page-id-202.layout-full .panel-row-style.panel-row-style-full-width:first-of-type {
    padding-top: 0 !important;
    }
    
  4. 9 years, 3 months ago Dori M

    thanks Andrew
    its worked
    but i dont know how to apply it for every same problem i find
    thanks

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

    Glad that helped.

    The above CSS is using the unique body class, only applicable to that page, to remove the margin and padding. We ideally don’t want to make these rules global because they might negatively impact other pages.

    Can you perhaps explain again why it’s not possible to use the Meta Slider method I described?

  6. 9 years, 3 months ago Dori M

    Dear Andrew
    there are many spaces i want to remove
    like the before and after the map
    http://qec.qa/contact-us/

    thanks

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

    We’d need to take a look at each page on its own.

    For the first big image on each page, Meta Slider would be my recommendation.

    For the contact page I’d recommend removing the Headline widget and instead using a Visual Editor widget. Using the second row of buttons in the Visual Editor widget you can set text to be Heading One which should render the same as the Headline widget. You might just need to type the headline out in caps. Making this widget change will remove some of the space there.

    To remove some of the spacing below your map try editing the row that the map is on. Click the “Theme” tab on the right and near the bottom, enable the No Bottom Margin setting.

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