-
AuthorPosts
-
May 15, 2024 at 1:58 pm #1443668
Hi I have a boxed layout for all pages but I want the front page background to stretch full width. The content can remain boxed but I want it on a background that covers the whole screen with no theme elements showing. Can I do this in custom CSS?
ThanksMay 15, 2024 at 4:53 pm #1443702Hey fanlokbun,
Please link to your page so we can examine and offer a solution.
As I understand you want the front page background to stretch full width, the content can remain boxed but I want it on a background that covers the whole screen.
but I don’t understand the last line “with no theme elements showing” this seems to go against the first statement “the content can remain boxed” please explain, or perhaps a mockup image would help.Best regards,
MikeMay 16, 2024 at 1:02 am #1443781Thanks Mike,
Page below.
Mockup looks great how do I do that?
CheersMay 16, 2024 at 7:19 am #1443823Hi,
Thank you for the inquiry.
We added this css code to adjust the width and height of the front page.
.responsive #top.boxed.page-id-329 { width: 100%; max-width: 100%; } .responsive #top #front-page { min-height: 100vh; }
Best regards,
IsmaelMay 16, 2024 at 12:13 pm #1443875Many thanks Ismael that works great. In the mockup Mike suggested there is an almost imperceptible zoom. Can I add that via custom CSS?
ThanksMay 16, 2024 at 5:11 pm #1443913Hi,
I added this css to your Quick CSS:#front-page.avia-section { animation: zoom 10s; animation-fill-mode: forwards; } @keyframes zoom { 0% { background-size: 100% auto; -webkit-background-size: 100%; } 100% { background-size: 110% auto; -webkit-background-size: 110%; } }
please clear your browser cache and check.
Best regards,
MikeMay 16, 2024 at 8:16 pm #1443941Thanks Mike but it stretched the image out of proportion so I removed the code. The owner is looking at it at the moment and he is a stickler for detail being the one that spent 20 years building the simulator. If you have another version that keeps the aspect ratio please post it on here and I’ll add it.
Many thanksMay 17, 2024 at 10:39 am #1444052May 17, 2024 at 11:46 am #1444065Okay thanks for your help. You can close this ticket.
-
AuthorPosts
- The topic ‘Full width front page’ is closed to new replies.