Support » Themes and Templates » full page randomic backgrond

  • hello im looking for a solution to implement a full page randomic background image – im using twenty eleven theme, but not the original – i made a copy of it and changed the name (had some problems to work with a child theme so did this to solve the problem faster, sorry dont know if is a good solution)

    i did some research in google and here in this forum. found some codes, but couldnt implement correctly. so im posting here, maybe this can help me and other people with the same problem

    heres my WP test online – at moment im not using any kind of randomic image

    already tried this codes:

    1 – – in this one i created the php page but couldnt apply this to my css – where should i call this page in my css ? this exemple is how i did but didnt work

    /* =Global
    ———————————————– */

    body, input, textarea {
    color: #373737;
    font: 15px “Helvetica Neue”, Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.625;
    body {

    didnt work this way…

    2 – here i found more solutions

    but some call the image inside a div, other tell me to put in header .. just didnt understand how this will work with my page background and css which at moment is just like this:

    body {
    background: #e2e2e2;

    also some tell that only work if my server uses glob which i dont know what is it at all

    3 – in my simple websites (when im not using WP system) i just have a good javascript that do the work, but also dont know how to implement in WP. its some code lines in javascript , inserted at <head> of all pages of the website.

    read some here in this forum, telling me to use template files to apply javascript to WP , but how can this java in a template file manipulate all the backgrounds of my website, this is a mistery to me, – also couldnt use this solution, just dont know how to use it..

    ——— so, anyone have a good ideia of how can i implement some of this codes or any other code to, in a simple way, add randomic background images, full screen, to all pages of my wordpress website ?

    thanx and sorry about my bad english

Viewing 1 replies (of 1 total)
  • in the first exemple, from it gives an image link to insert in code, calling the php page – its an image link not an background-image .. how can i apply this to

    body {


    if someone know how can i use one of the exemples in my post or any other way to do randomic background images, full screen, in all wordpress pages in my website, please help ! 🙂

    [ Please do not bump, that’s not permitted here. ]

Viewing 1 replies (of 1 total)
  • The topic ‘full page randomic backgrond’ is closed to new replies.