Community Forums › Forums › Design Tips and Tricks › Background image problem
This topic contains 9 replies, has 2 voices, and was last updated by SoZo 4 months, 2 weeks ago.
-
AuthorPosts
-
February 1, 2013 at 5:03 pm #17242
Hi,
I use an image as a background ground for my wordpress site. when you visit my website here: http://www.relationshippa.com/
you can see that the image consists of two columns one for the main content and the other is for the right side bar.
The problem is: when i browse the website using a 15.6″ laptop it works fine, however when browsing the website in a netbook (10” display size), a mobile phone, or even when i decrease the size of my browser, i find that the right border of the content section which is also the left border of the sidebar column shifts to the right i.e. the border becomes right in the middle of the side bar.
So can i prevent this from happening regardless of the pc display size or the browser size??
February 1, 2013 at 5:09 pm #17248Add a width and auto left/right margins to the #inner rule.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
February 1, 2013 at 5:19 pm #17250This is the code:
#inner {
overflow: hidden;
padding: 25px 0 50px 0;
background: #fff;
}#inner .wrap {
width: 960px;
margin: 0 auto;
}what should i change?
February 1, 2013 at 5:33 pm #17252Move the width and margin from #inner .wrap to #inner
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
February 2, 2013 at 5:31 pm #17482Sozo, could you please check my website now?
the grey separator between the content section and sidebar is now in the middle of side bar… how can i place this separator in its right place? (between content and sidebar)
thanks
February 2, 2013 at 5:53 pm #17490February 3, 2013 at 12:58 pm #17649Sozo,
I did yet still not working. what happened is that the whole content and side bar shifted to the left.
The problem still exists. What can i do?
February 3, 2013 at 1:11 pm #17651oh wait. sorry, i changed the width of the inner not the image.
i will change the image width and let you know.
February 4, 2013 at 1:01 pm #17947working now.
Thanks a lot
)February 4, 2013 at 1:55 pm #17965 -
AuthorPosts
The topic ‘Background image problem’ is closed to new replies.