I recently made a website using WordPress and a custom theme. Th开发者_StackOverflowere is one weird glitch that's been bothering me, and due to my limited CSS knowledge I've been scratching my head.
If you go to the home page http://wpwallpaper.com/, you can see that on the right side there is a sidebar with categories (Abstract Bright, Dark, Sexy) and an "Advertise Here" block. It's displaying correctly. However, if you click on one of the images on the front page, say, this one: http://wpwallpaper.com/dark/bluedroid/ You will notice that the right side bar is gone...instead it's wrapped around and appearing at the bottom of the page!
I've been using the Chrome developer tool to mess around with the CSS but to no avail. I basically want the sidebar to go back to the right side instead of at the bottom.
Any help is appreciated!
This div <div class="wrapper" id='wrapper_main'>
has no closing tag </div>
Add it and all will be corrected
The missing </div>
should be added before
<div class="wrapper fullwidth" id='wrapper_footer'>
Check or missing HTML tags(closing)
And check div for height and fix the width of left and right div
There were some incorrect code in my single.php file in the theme...I commented out the code and all was working well!
精彩评论