[Resolved] Float:Right Sidebar problem only on one page :(
* Newbie ALERT * I would be really greatful if some one could help me out Iv recently discovered wordpress and created my only theme 🙂 all is well apart from my Sidebar …
On the home page it is correctly floating right of the content but when I click to view the comments on any article the side bar drops to floating right but below the content sort of diagonal to it.
I used a blank theme to lay down the start of the code and am wondering if there is something here causing this problem below is the code for the style.css , index.php and sidebar.php.
any help and I would love you for it 🙂
If you want help, please post a link to your site.
Hey Wpyogi, thanks for the reply , unfortunately I am using Wamp and developing the theme in my local host before I commit to paying for hosting. Is there anything else I can provide ?
Thanks mod, sorry about that here are the codes in pastebin
Edit … here is also an image of what is happening when I click on the comments link … I have highlighted the sidebar green for clarity http://s59.photobucket.com/albums/g312/killerbyteclan/?action=view¤t=notworking.jpg
as opposed to when Im on the home page
It’s almost impossible to figure out CSS and layout questions unless someone can view the site in Firefox using Firebug to see the CSS in action. If the problem is only on one page, then it is likely that the template for that page is different from the others and/or that the way the CSS is coded is only affecting (or not affecting) the one page. You should be able to use Firebug to sort out the spacing issue. Something obviously happens when you switch to the view comments — so look for that section in the php files and corresponding CSS. The width of the sections is what you probably need to change.
Ok thank you for your reply I have tried using the inspect element in chrome to solve this but cannot find the cause … I will have another go if not I will see if I can upload my site some where 🙂
Hey Guys just to update you I have resolved this issue 🙂 yay after 3 – 4 hours of messing I found that the problem was due the
<?php get_sidebar(); ?>being Below the
<?php comments_template(); ?>in the Single.php file to resolve my issue I just cut and pasted it up above. So if you are having a problem with your side bar layout only on pages which involve single post this may help 🙂
- The topic ‘[Resolved] Float:Right Sidebar problem only on one page :(’ is closed to new replies.