Page Width - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Page Width

J

joeb1000

SP Page Builder 3 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.

0
10 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #52529

I added this line inside your template already:

#sp-header.header-sticky {
  left: 50%;
  transform: translateX(-50%);
}
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #52506

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.

0
J
joeb1000
Accepted Answer
3 years ago #52514

This is the look am trying to get!

0
Pavel
Pavel
Accepted Answer
3 years ago #52518

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

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #52521

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #52522

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

#sp-menu.menu-with-social .sp-megamenu-wrapper 
{justify-content: end;}
0
J
joeb1000
Accepted Answer
3 years ago #52528

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?

0
J
joeb1000
Accepted Answer
3 years ago #52532

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

0
Pavel
Pavel
Accepted Answer
3 years ago #52533

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

0
Pavel
Pavel
Accepted Answer
3 years ago #52534

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

.container {
    max-width: 1140px;
}
0