Title: Excerpt and fixed background
Last modified: August 21, 2016

---

# Excerpt and fixed background

 *  Resolved [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/)
 * I have been searching for a theme forever. I finally found this one and I love
   it. I just want to change two things and it will be perfect forever. First I 
   want to show my whole posts on the homepage. Videos, pictures, text, the whole
   nine yards. I have tried all the things in the support forum and it wouldn’t 
   fix. Secondly I can’t get my background to stay. I have changed the background-
   attachment to fixed in style.css and still nothing. It is selected as fixed also
   on the theme background editor. If someone could help me with these two issues
   I would love them forever. And ever!!! Thank you so much.
 * [http://www.seizemysoul.com](http://www.seizemysoul.com)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/excerpt-and-fixed-background/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/excerpt-and-fixed-background/page/2/?output_format=md)

 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184086)
 * Well I figured out one of my own problems with a little re-reading and retry.
   Yeah!!! Now I just need the fixed background fixed.
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184088)
 * Damn I lied. I fixed it to where I don’t have excerpts anymore (its the whole
   post) on the home page but when I click on the post it takes me to that individual
   posts page and there is no content. 🙁
 *  [tomaja](https://wordpress.org/support/users/tomaja/)
 * (@tomaja)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184294)
 * For full posts see [http://wordpress.org/support/topic/excerpt-22?replies=7](http://wordpress.org/support/topic/excerpt-22?replies=7)
   
   For fixing background image (front page and single page/post) you should add
 *     ```
       body {
       background-attachment: fixed;
       }
       ```
   
 *  to your child theme css
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184301)
 * I have decided to use excerpts but I did find a plugin “advanced excerpts” that
   did the trick for when I didn’t want them. The background won’t stay fixed no
   matter what. I have given up on that and just gave a fade to the bottom of my
   background image. Thanks for your help. I have more questions but I will post
   another topic for that. Or hopefully find it already answered. 🙂
 *  [tomaja](https://wordpress.org/support/users/tomaja/)
 * (@tomaja)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184304)
 * Funny that you said that. I tried that code on your site and it works just fine.
   Anyway, Im glad that you have found the solution.
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184320)
 * This is in my child themes style.css file. It’s in there right now even.
 * [http://pastebin.com/EZaEce19](http://pastebin.com/EZaEce19)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184321)
 * Your background image is not in your body tag – it’s here:
 *     ```
       .page-wrapper:before {
           background: url("images/page-top-bg.jpg") no-repeat scroll center 0 #FF5B5B;
           content: "";
           height: 6px;
           left: 0;
           position: absolute;
           right: 0;
           top: 0;
       }
       ```
   
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184322)
 * That’s in the style file?
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184323)
 * Ill have a look. Thanks.
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184327)
 * That is not my background. That was a little bar that went across the top of 
   the website. I deleted that file because I didn’t like it. Are you saying I should
   change that part in order to change my background? Because right now that isn’t
   where the background code is coming from.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184328)
 * Oh sorry, my mistake.
 * It looks like your child theme has a copy of the entire parent theme style.css
   file – that causes duplicate code and makes it MUCH harder to keep track of what
   you are changing. A child theme CSS file should contain ONLY changes.
 * That said, try adding this to the end of your style.css file:
 *     ```
       body {
           background-attachment: fixed;
       }
       ```
   
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184329)
 * I agree. I am new to this whole thing for the most part and am doing it ALL on
   an ipad with an FTP app. I don’t know why but when I was originally doing things
   it was more difficult for me to go back and forth on the app with what to change
   and searching for strings and stuff like that. Now it sucks because I don’t know
   which changes I have made in the child theme to be able to delete everything 
   else. It will be easier for me to fix this when I get home on a REAL computer.
   I will see if your last suggestion changes anything. Again think you for the 
   help!!!
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184330)
 * Oh yeah, iPads really aren’t great for this kind of thing – drives me crazy!!
   27″ iMac = much better :).
 * Come back if you still need help after you’ve had a chance to try it 🙂
 *  Thread Starter [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * (@thatoneguy99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184331)
 * Yeah it is extremely annoying. Everything I have done on my website I have done
   it on here. I am in the Navy and currently stuck in Greece, can’t really complain
   though. I only have my ipad and I got bored so decided to fix my old blog. It’s
   been lots of fun and staying up late working on it.
    I just tried your code at
   the bottom of my child’s style file and nothing. It is ok I think I’m gonna give
   up. Having the fade to black at the bottom of my background image has kind of
   grown on me so ill just leave it.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/#post-4184332)
 * Oh wow, that’s a different “when I get home” than what most people mean! I’m 
   glad you’ve been able to do as much as you have and are having fun with it! And
   thank you for serving from a US Navy offspring. I think it may be how the CSS
   is being loaded – see if adding !important does anything:
 *     ```
       body {
           background-attachment: fixed !important;
       }
       ```
   

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/excerpt-and-fixed-background/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/excerpt-and-fixed-background/page/2/?output_format=md)

The topic ‘Excerpt and fixed background’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/duena/2.0.0/screenshot.png)
 * Duena
 * [Support Threads](https://wordpress.org/support/theme/duena/)
 * [Active Topics](https://wordpress.org/support/theme/duena/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/duena/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/duena/reviews/)

 * 20 replies
 * 3 participants
 * Last reply from: [thatoneguy99](https://wordpress.org/support/users/thatoneguy99/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/excerpt-and-fixed-background/page/2/#post-4184339)
 * Status: resolved