Okay
  Public Ticket #144293
custom backgrounds
Closed

Comments

  • Scott started the conversation
    Hi, i was trying to use a plugin that could set custom background per post/page etc and it would not work. i think this may be because your theme does not support this?? http://codex.wordpress.org/Custom_Backgrounds THANK YOU !! :)
  •  998
    ThemeNectar replied

    Hey Scott, setting a custom background image for pages/posts is not difficult without a plugin - you just need to find the id of the page you want to add an image to (here's a resource on how to find the id) and create a css rule to target that page and set the image. Here's an example if the page id was 45 that you would enter into your custom css box in the theme options panel:

    body.page-id-20 .container-wrap {
       background-image: url('your-img.jpg');
    }

    Cheers :)

  • Scott replied

    thank you... that is really manual compared to what the plugin was doing :)  but thanks for the info. So is that a 'no' on the support of this feature for this theme?  I'm fine if it is just working out my approach for doing this. thanks Scott

  •  998
    ThemeNectar replied

    Hey again!

    As of now there's no other built in way to add BG's and i'm not sure why your plugin failed to work without investigating your setup further. If you're fine doing it with the way I described, than it's probably the best/cleanest way to handle it :)

    Cheers! 

  •  1
    tim replied

    I just tried this code and it did not work. This is what I used:

    body.page-id-596 .container-wrap {
       background-image: url('http://pvatestsite.com/nrgfx/wp-content/uploads/2014/01/destrans-background-girls-seated-bend.jpg');
    }

    Don't know why it didn't work.  If this is not correct, please let me know.  Thanks.  

  •  998
    ThemeNectar replied

    Hey Tim!

    Can I please have the URL of the page you're doing this on so I could take a peek for you :)

    Cheers!