Community Forums › Forums › Archived Forums › Design Tips and Tricks › My body is missing . . . .
Tagged: associate child theme, body, wrap
- This topic has 6 replies, 2 voices, and was last updated 11 years, 8 months ago by AnitaC.
-
AuthorPosts
-
April 15, 2013 at 1:03 pm #35594cjkcreativeMember
. . . from the Associate Child Theme I'm using for http://botanicalcollections.com/.
The code is there on the stylesheet:
/* Body
------------------------------------------------------------ */body {
background: #ddd url(images/body.jpg) bottom repeat-x;
}but you can't see it on the website I'm working on (the body.jpg is at the bottom of the Associate theme). Does anyone know why it is not showing up and how to put it back? When I first began working on the site, it was there, but then it disappeared.
And another puzzle:
There is a margin around the wrap.jpg at the top of the page giving it a weird border-like appearance that is not on the original Associate child theme. How do I get rid of this margin or border? The code looks like it is showing a 0 margin:
/* Wrap
------------------------------------------------------------ */#wrap {
background: url(images/wrap.jpg) no-repeat;
margin: 0 auto;
}You can tell I'm not a coder. Thanks to anyone who can solve these two puzzles!
April 15, 2013 at 2:53 pm #35615AnitaCKeymasterI don't understand what you mean by the "body" is missing? I see the website and it looks fine. What am I missing?
Need help with customization or troubleshooting? Reach out to me.
April 15, 2013 at 3:01 pm #35619cjkcreativeMemberIf you look at the Associate child theme, http://demo.studiopress.com/associate/, at the very bottom you'll see a long bar that goes across the entire screen, not page.
On my website, there is no long brown bar at the bottom that goes across the entire screen. It was there at first, but now it's not there.
April 15, 2013 at 3:06 pm #35623AnitaCKeymasterIt's because you used the Custom Background feature.
This is now your body background code:
body.custom-background { background-attachment: scroll; background-color: #708136; background-image: url("http://botanicalcollections.com/wp-content/uploads/2013/04/BC-background-image-1.jpg"); background-position: center top; background-repeat: no-repeat; }
Need help with customization or troubleshooting? Reach out to me.
April 15, 2013 at 3:20 pm #35627cjkcreativeMemberOh, okay thanks. So you can't have both the body and the custom background. Where did you find that code? I'm using WordPress and can't find it in the style sheet or other places where there is code.
Any suggestions on the second question regarding the green "border" (which I think is a continuation of the background) around the wrap.jpg at the top of the page? I have another website using Associate and custom background, but didn't get that border. I made the backgrounds on both sites the same size.
April 15, 2013 at 3:27 pm #35632cjkcreativeMemberBy the way, the reason I used the custom background is that I didn't want to use the off-white middle part of the Associate child theme but couldn't find anywhere to change the color in the code. The only way was by going to the Custom Background tab under Appearance.
Is it because I'm using a graphic in the background instead of just a color the reason why the body.jpg is not showing up?
April 15, 2013 at 5:02 pm #35651 -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.