+ Reply to Thread
Results 1 to 5 of 5

Thread: Sidebar expanding into main page

  1. #1
    Join Date
    Aug 2010
    Posts
    2

    Default Sidebar expanding into main page

    Hi, just testing the Cutline 2.0 theme (black) and have an issue whereby if my page/post is longer than the sidebar all is OK. If the page is shorter than the sidebar then the first few entries on the sidebar appear correctly on the right-hand side of the page; however the later entries then appear underneath the main post on the page
    http://www.theoldendowedschool.org.uk shows this (please not that this is a very basic WIP site at present)

  2. #2
    Join Date
    Aug 2010
    Posts
    2

    Default

    Sorted - missing a <div>

  3. #3
    Join Date
    Feb 2009
    Posts
    605

    Default

    Easy to miss but usually the biggest culprits!

  4. #4
    Join Date
    Sep 2010
    Posts
    1

    Default

    Quote Originally Posted by gswindale View Post
    Sorted - missing a <div>
    Hi, I am having the same problem (only in IE). It seems that the dymamic sidebar is only wrapping the correct div around the first widget, and subsequent ones are not getting wrapped in that div...my sidebar php looks like...

    Code:
    <div id="sidebar">
    	<ul class="sidebar_list">
    	<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?>
    	<?php endif; ?>
    	</ul>
    </div>
    Example is on http://enlightennext.com/copenhagen/

    The Navigation sidebar is wrapped in the ul class, and the div...but the ones below are not.

    Any advice would be greatly appreciated, thanks.

  5. #5
    Join Date
    Feb 2009
    Posts
    605

    Default

    The code of your sidebar looks like this:

    PHP Code:
    <div class="execphpwidget">
    <
    li><a href="wordpress-address/">Link 1</a></li
    <
    li><a href="wordpress-address/">Link 2</a></li
    <
    li><a href="wordpress-address/">Link 3</a></li
    <
    li><a href="wordpress-address/">Link 4</a></li
    <
    li><a href="wordpress-address/">Link 5</a></li>
    </
    div
    Try wrapping the list items in <ul>...</ul> first. Why are you using execphp to list links though?

+ Reply to Thread

Similar Threads

  1. Different Sidebar per Page?
    By EWKrause in forum Sidebar
    Replies: 23
    Last Post: 01-06-2011, 08:50 AM
  2. Need to make custom page-template sans R sidebar. How?
    By ceejski in forum Posts, Pages, Comments
    Replies: 6
    Last Post: 10-31-2010, 02:19 PM
  3. How To Move Sidebar to Bottom of Page?
    By I<3GOOGLE in forum Sidebar
    Replies: 3
    Last Post: 03-03-2010, 04:37 AM
  4. sidebar in middle/bottom of page?
    By bedwettingcosmonaut in forum Sidebar
    Replies: 1
    Last Post: 01-07-2010, 09:49 AM
  5. CSS mod for sidebar (vs. main text)
    By jgolick in forum Cutline Mods
    Replies: 7
    Last Post: 10-20-2009, 10:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts