Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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?
    Thanks

    #1443702

    Hey 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,
    Mike

    #1443781

    Thanks Mike,
    Page below.
    Mockup looks great how do I do that?
    Cheers

    #1443823

    Hi,

    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,
    Ismael

    #1443875

    Many thanks Ismael that works great. In the mockup Mike suggested there is an almost imperceptible zoom. Can I add that via custom CSS?
    Thanks

    #1443913

    Hi,
    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,
    Mike

    #1443941

    Thanks 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 thanks

    #1444052

    Hi,
    In that case I would recommend not using the animation.

    Best regards,
    Mike

    #1444065

    Okay thanks for your help. You can close this ticket.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Full width front page’ is closed to new replies.