Support » Fixing WordPress » Is there an easy way to get my sidebar to match up properly?

  • My website:

    http://www.thedailycute.com

    My issue:

    As you can see, under Membership, Top Posts, and External Sources of cute don’t follow my theme’s bulleting scheme.

    I don’t know how to do PHP. Is there any easy way to make them all have the same nice bullets the other sections have? The Top Posts part has the bullets, but they are misaligned and I don’t know how to fix that.

    Thanks!

    Dave.

Viewing 13 replies - 1 through 13 (of 13 total)
  • bump

    bump

    Try this:

    Add the following to your body in your CSS:

    list-style-type:none;

    and then also make a new line in your css as follows:

    td li { list-style-type:none;}

    You also may need to sort out your margin/padding for the td.

    OK, thank you. That did the trick to at least make everything uniform. I guess it would be much harder for me to put bullets on everything, right?

    I’m still not too sure how to sort out my alignment for the Top 5 posts on the left side.

    i’m guessing i have to edit the plugin

    Sorry, I mis-read what you wanted. To have the same bullets for the top – you need to wrap the two membership items in <li></li> like the rest of the lists.

    To complicate matters though, most of the lists do not have a <ul></ul> wrap, whereas the Top Posts do. This is what is causing the difference in alignment.

    how do i fix the ul wrap?

    i added the li to my membership items…and well, you can see the results when you hit the page…only one gets a bullet!

    i added the li…
    No, you didn’t!
    li = list item = which means it should be opened AND closed around EVERY list item separately!

    And you may want to take a closer look to those lists: none of them has an opening ul or ol tag.
    HTML basics: http://www.w3schools.com/html/html_lists.asp

    <tr>
    <td style=”padding-left: 5px; background-image: url(‘dailycute/wp-content/themes/petlove/images/d3navbg.jpg’)” height=”26″><span style=”letter-spacing: 1″><b><font face=”Arial” size=”2″>Membership:</font></b></span></td>
    </tr>
    <tr>
    <td style=”padding: 5px” valign=”top”>[li]<font face=”Arial” size=”2″><?php wp_get_links(’15’); ?></font>[/li]</td>
    </tr>

    bah its turning the li tags into an actual list.

    whooami

    (@whooami)

    Member

    bah its turning the li tags into an actual list.

    uhh,
    <li> stands for list item.

    i edited the code above, and put square brackets around the li tags so you guys can see my code.

    is that not encompassing everything?

    putting in UL code broke it more, only one item is bulleted plus the alignment is broken

    ok, i got everything to lineup now without bullets

    it looks better with bullets though, so i’m disappointed.

    it seems when i use the UL tag, it changes the alignment and uses different bullets than the [li] tag. there is nothing in the stylesheet that i can find to reflect that…

    also, when i use the li tag, it only places a bullet on the first item. how can i use the li tag around php code?

    for example:

    <td style=”padding: 5px” valign=”top”>[li]<font face=”Arial” size=”2″><?php wp_get_links(’15’); ?></font>[/li]</td>

    only places a bullet in front of the first link. if i use the UL tag (in addition to li), it places a bullet in front of the first link and breaks the alignment. still no bullet on the second link.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Is there an easy way to get my sidebar to match up properly?’ is closed to new replies.