Use a different wrap for home

Community Forums Forums Design Tips and Tricks Use a different wrap for home

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Makis77 1 year ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51560

    Makis77
    Participant
    Post count: 5

    Hi there :)

    I’m trying to create a site using prose child theme where homepage will have a background only, no content, no title or widgets.
    Rest of the pages should have the usual child theme structure.

    For that reason I create a page template only for the page that will be used on home, I disabled all the actions I didnt need and I easily set it up as I wanted.
    Then I inserted into the custom code from backend the following:

    .home #wrap {
        background-color: transparent;
        /*border: 0 solid #EDEDED;*/
        border: none;
      background: transparent url(http://mysite.com/home-background-image.png) top center no-repeat;
    height: 1463px;
    }*/

    and I was happy to see that home page had the background I wanted.
    thing is that when I set the wrap styling for other pages its not used and I only see a white background as the wrap header.
    For other pages I m using the following code:

    .page #wrap {
        background-color: transparent;
        /*border: 0 solid #EDEDED;*/
        border: none;
      background: transparent url(http://mysite.com/other-pages-background-image.png) top center no-repeat;
    height: 1463px;
    }*/

    I’m probably doing something wrong here but cant find it out so any help would be appreciated.

    #51591

    anitac
    Participant
    Post count: 7031

    Please share the URL to your site so we can see what you have in place already. Thank you.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #51920

    Makis77
    Participant
    Post count: 5

    Hi there :)

    You can find the link here:

    http://by.vg/n59eW

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.