• Resolved rajeevthomas

    (@rajeevthomas)


    Hi Everyone… hope you can help me. I am a newbie and trying to set up a blog for myself. I see my background image on my desktop and laptop but when I look at the blog on a mobile device like I-phone, it does not show up… is it supposed to be like that for readability reasons? here is the link to my blog…

    Thanks for your time and help….

Viewing 3 replies - 1 through 3 (of 3 total)
  • nellynellynelly

    (@nellynellynelly)

    Hi,
    Without looking into your code, it looks like it’s simply because the background is to the left and right of the content, so on a mobile device you don’t see the background as the content fills the width of the screen.

    ~n

    Thread Starter rajeevthomas

    (@rajeevthomas)

    Hi nellynelleynelly…

    Thank you for your time… I have the css here… #primary was showing float:left as you mentioned but I removed it but it still does not show the background.. can you check this again please?

    body.custom-background {
        background-attachment: scroll;
        background-color: #060000;
        background-image: url("http://www.rajeevthomas.com/journal/wp-content/uploads/2012/12/1.jpg");
        background-position: center top;
        background-repeat: no-repeat;
    }

    #primary {
    margin: 0 -26.4% 0 0;
    width: 100%;
    }

    [No bumping, thank you.]

    Thread Starter rajeevthomas

    (@rajeevthomas)

    Hi Everyone… sorry did not mean to break the forum rules… but was desperate for answer there. But I found out after a fresh install of WordPress 3.5.1 that on devices like I-phone the background is omitted and just the content is displayed. I also found some blogs are adding a header image instead ….

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Background image is not showing…’ is closed to new replies.