• HERE

    My sidebar should be next to the page content yet it is showing underneath the content and to the right?

    I just need the sidebar to the right hand side, I have not changed any sizes for anything?

    Any help would be great
    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • It looks from the code as if this was originally meant to be a left sidebar, so things are a bit cockeyed.

    However, what I think is happening is that, within the #wrapper div you have a #casing div. The wrapper is 1000px wide, whilst the casing has no width specified, so it takes up the full width because the wrapper is its parent.

    The right-floated sidebar then comes along and finds there’s no room next to the casing and so drops beneath it.

    To fix this, I think the easiest thing is to output the sidebar before outputting the casing. The sidebar will then float right taking up the rightmost 330 + 20 pixels, and the casing content will flow around it in the normal way with floats.

    It’s hard to say without seeing the code, but I guess this is simply a matter of relocating the call to get_sidebar() in whatever file(s) contain it. Probably, but not necessarily, index.php and any specialist files like category.php that are called for special purposes.

    HTH

    PAE

    I am having a similar problem, but I was taking the Twenty Eleven template and changing it so that the horizontal navigation bar would be vertical. I changed some more coding so that articles show up next to the navigation, BUT the pages don’t. The pages fall down below the navigation and I can’t quite figure out how to get them to come up next to the navigation. I have tried changing “main” to float left, smaller pixel width, and the div inside that as well, but it still won’t go where I want it to. The site is https://www.chetglaze.com. Any ideas would help!

    One thing that I did, was I had the submenus set to relative position, and they are moved to the right slightly. Could that be my problem?

    Also, if my problem has the same solution as above, where do I put the get_sidebar()when relocating them???

    Thank you!

    Jennifer

    Also, do you have any suggestions for a VERY basic image gallery? My client wants a list of thumbnails on the right and a large image in the main area of the content. When the thumbnails are clicked, the main image changes. That would be simple enough, BUT he wants to be able to edit it at a later date, himself, so that he is not dependent on me every time he paints another paining he wants on his site. I have been searching and nothing has worked yet. An example of what he wants is this: https://www.christinegray.com/ .

    THANK YOU!

    Jennifer

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation but please post a new topic.

    Wow, that was fast! I will work on the child template. I am new to www.ads-software.com, so I will have to figure out how to post a new topic. Thank esmi!

    Jennifer

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sidebar showing too low on page’ is closed to new replies.