Background image and video player

  • rodeboy

    #42306

    Prasanna, I have met up with my customer today, and he has had a change of mind. It is to appear on all pages, not just the home page.

    All other aspects are the same. Many thanks and look forward to hearing from you, Chris

    Anonymous

    #42307

    Okay. Is this close enough?

    zdHk8oo.png

    It is quite difficult to achieve this with the current layout. I moved the portrait from header widget to within the content and moved the whole content-main div upwards with a negative margin of about 330px.

    .home #content-main {
    background: url("http://www.tonycleary.com/wp-content/uploads/2014/03/home-background.jpg") no-repeat !important;
    margin-top: -331px;
    background-size: cover !important;
    width: 44.5% !important;
    position: absolute;
    height: 100%;
    }
    body {
    background: #758F89 !important;
    }

    It is really really a bad approach. I’ll look for better solutions. If it is just for the homepage, we can just redesign the homepage layout with the child theme.

    Anonymous

    #42308

    Resized screenshot,

    LogI21p.png

    rodeboy

    #42309

    Prasanna, the screenshot is perfect.

    I have added the image to the home page content and placed this latest code in Custom CSS, and took out the coding;

    body {
    background-image: url("http://www.tonycleary.com/wp-content/uploads/2014/03/home-background.jpg") !important;
    }

    from the original code, leaving the coding

    * {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    }

    from the original code (as it appears to be needed), and left it for your inspection.

    Three points;

    1) Should that part of the original code still be in there?

    2) Your latest code changes just the home page by including .home within the code (I assume)

    3) I am getting the background colour down the right and at the bottom.

    Thanks so much for your time on this.

    Chris

    rodeboy

    #42310

    Prasanna, have you had an opportunity to consider better solutions please? The customer is back to having the layout on all pages now, so just ignore the ‘home page only’ reference.

    Many thanks, and regards,

    Chris

Viewing 5 posts - 11 through 15 (of 15 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.
Graphene Themes Forum