WordPress.org

Ready to get started?Download WordPress

Forums

change autofocus free theme background, different for every page (3 posts)

  1. retroruby
    Member
    Posted 2 years ago #

    Peace All,

    Here is the link to my page http://retroruby.info/#/

    I currently am using the support forum from here http://wordpress.org/support/topic/how-to-change-background-only-for-home-urgent-autofocus-theme?replies=11

    however when i add the instructed content i get the same background on allpages. then i tried to change th epage id to mathc my pages and it put the bg image on the front page and disregarded the previous one. i have tried numerous different ways to do this. i dont really care how or where its done as long as i can go back and change the image file easily.

    i am in the wordpress for dummies stage
    so please break it down in super lamens terms
    all help is much appreciated.

    thanx guys!
    peace and love

  2. retroruby
    Member
    Posted 2 years ago #

    this is what i have now

    /* =structure */
    body{background-color:#FFF;color:#444;font:1.4em/1.6 "Hoefler Text", "Georgia", Georgia, serif, sans-serif;margin:0;padding:0}
    body.home { background: #676754; }
    body {background-color: #000000;
    background-image: url("http://retroruby.info/wp-content/uploads/2012/02/screeen-back6.png");
    background-repeat: no-repeat;background-position:center top;background-attachment: scroll; top;color:#444;font:1.4em/1.6 "Helvetica", "Hoefler Text", "Georgia", Georgia, sans-serif;margin:0;padding:0}

    body.page-id-the-legacy { background-image: url("http://retroruby.info/wp-content/uploads/2012/02/The-Legacy-page4.png");
    background-repeat: no-repeat;background-position:center top;background-attachment: scroll; top;color:#444;font:1.4em/1.6 "Helvetica", "Hoefler Text", "Georgia", Georgia, sans-serif;margin:0;padding:0}

    #wrapper{padding:0;margin:0 auto;width:1000px;position:relative;display:block}

  3. surferflo
    Member
    Posted 2 years ago #

    Hello All,
    I have problems finding the part in style.css where I can add a background image. At that point it´s not necessary if the image is only on home page or on all pages.

    I´m using autofocus 2.0.4 the free version.

    Maybe the 2.0.4 is a bit different to the examples mentioned in the support forum. I can´t find any comment line like /*structure*/ or /*global*/

    When inspecting my site with firebug I can see the background color is set in a file named /wordpress/#2
    Wherever the file is stored I can´t find it.
    If I could find that file, I think I can add a background image with
    background-image: url("path/filename.jpg");

    I´m at the beginning of development that´s why my website is only local, using WAMP

    Thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Topic