Support » Theme: Duena » Excerpt and fixed background

  • Resolved thatoneguy99

    (@thatoneguy99)


    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

Viewing 15 replies - 1 through 15 (of 20 total)
  • 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.

    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. 🙁

    For full posts see 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

    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. 🙂

    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.

    This is in my child themes style.css file. It’s in there right now even.

    http://pastebin.com/EZaEce19

    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;
    }

    That’s in the style file?

    Ill have a look. Thanks.

    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.

    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;
    }

    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!!!

    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 🙂

    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.

    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)
  • The topic ‘Excerpt and fixed background’ is closed to new replies.