Reduce the space between the header and the body of the page

Hello, that to help me change the home page of my website. I am looking for a week without finding.

element.style {
/* padding: 100px 0px; /
/
margin-left: -42.5px; /
/
margin-right: -42.5px; /
/
border-left-width: 0px; /
/
border-right-width: 0px; /
/
background-position: 50% 38px; */
}

To
element.style {
/* padding: 0px 0px; /
/
margin-left: -42.5px; /
/
margin-right: -42.5px; /
/
border-left-width: 0px; /
/
border-right-width: 0px; /
/
background-position: 50% 38px; */
}

Merci…

Hello Jocelyn,

I’m not sure what are you trying to achieve.

Can you please provide more details and tell me what is your goal?

Kind Regards, Roman.

Hello Roman,

I created a page with SiteOrigin but the quality of the layout is bad. I can not raise the image (header) behind the logo as Sydney site because there is a gap. Through chrome, I see a code … “inline style” needs to be changed but I do not know how to reach this code to achieve the same result.

Cdlt,

“Style inline”…not inline Style

Okay Jocelyn,

I will be glad to help you, but can you please provide a link to that page to let me inspect it?

Kind Regards, Roman.

le lien

Can you delete the above post?

Okay Jocelyn,

I removed your previous post.

Please use the following CSS code to remove the gap.

You can add CSS code to your site with Simple Custom CSS plugin (just copy CSS code and paste it in Dashboard -> Appearance -> Custom CSS after installing and activating the plugin). Also you can add CSS code directly to style.css file of your child theme.

#pg-2-0 .siteorigin-panels-stretch.sydney-stretch.panel-row-style {
    padding-top: 0 !important;
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Génial!

I am very happy that it works!

Thank you, Roman…

Cdlt,

You are welcome Jocelyn!

I’m very glad that you are happy :slight_smile:

Kind Regards, Roman.

Dear Roman
The code you gave me laste week don’t work every time.I feel that it works for a single page and not for others.

My other question is how to achieve the color in the background of a page?

Cdlt,

Hello Jocelyn,

  1. Yes, that code contains precise targeting, so it most likely won’t work on other pages.

  2. Can you please provide more specific details about your other question?

Kind Regards, Roman.

Hello Roman,
I copied and paste a part of my siteOrigin page to create two titles (in content). I thought that doing the operation color in the background is also copied. This is not the case as you can see on this link … See also how the gaps between tracks is too large.LINK

The link Here

Link

I am still not sure what is your issue.

Can you please provide some explanatory screenshots?

Kind Regards, Roman.

I do not know make screenshot links. Sorry!

My problem is this. How to make editable sections of my homepage to create colors that I want in the background ?

Okay Jocelyn,

You can change background color of your homepage Page Builder sections when edit a page, hover over wrench icon of a section that you want to change background for, click Edit Row, click Theme, change background color, click Save, click Update.

You can make/upload screenshots with snag.gy service.

Kind Regards, Roman.

Thank you Roman

You are welcome Jocelyn,

Kind Regards, Roman.