Page Width - Forum | JoomShaper
Solved SP Page Builder

Page Width

Asked by joeb1000 4 years ago Last activity 4 years ago

Please take a look at http://p607708.mittwaldserver.info/.

The logo at the top should left allign with the large picture and the navigation and the three bars should right allign with the large picture. Also, the white space under the large picture should not show.

How can I achieve these demands of my client. I do not want to continue with the site until this problem is solved.

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
4 years ago · edited

I added this line inside your template already:

#sp-header.header-sticky {
  left: 50%;
  transform: translateX(-50%);
}

9 more replies

Paul Frankowski Senior Staff

Hi,

It's how it looks now.

foto_7609_2022.png

Do you want to remove container (max-width) from Header?

foto_7610_2022.png

Share mock-up if you're webmaster you know how it's helpful.

joeb1000 Asked this

This is the look am trying to get!

Pavel
4 years ago · edited

Hi. In each section settings, set the width of the container to 1320.

(Min width of your image also should be 1320px)

Paul Frankowski Senior Staff

My suggestion is to add this custom CSS

#sp-header {
  box-shadow: none;
  max-width: 1140px;
  margin: 0 auto;
}

to get

foto_7613_2022.png

Paul Frankowski Senior Staff

and to align mega menu into right add also this line:

#sp-menu.menu-with-social .sp-megamenu-wrapper 
{justify-content: end;}
joeb1000 Asked this

Thanks, it works now when I open the page:

But when I start to scroll down, it changes like this:

How can I get rid of this effect?

joeb1000 Asked this

Thank you, that worked fine. Thanks for the overall help!

Pavel
4 years ago · edited

I think instead of all this code for the header width and header-sticky alignment it would be enough just one rule

#sp-header .container {
    max-width: 1140px;
}

The smaller the code, the better for the performance of the site

Pavel

And even easier. If the width of the content area for all pages of the site should be 1140px then

.container {
    max-width: 1140px;
}
Log in to reply.