• i am using wp 3.9.1 and simple page sidebars plugin 1.1.6. i have a text widget in the sidebar and code plus css to style a menu (because it has to match a menu from another part of the site which is not wordpress). css is like

    #pm_ul{some css}
    #pm_li{more css}

    code is

    <ul id="pm_ul">
    <li id="pm_li"><a href="link1">Art</a>
    <li id="pm_li"><a href="link2">Crystals</a>
    <li id="pm_li"><a href="link1">Incense</a>

    the second and third lines line up properly left-justified and use all the respective css. the first line aligns to the right even tho’ the css shows in the inspector as being the same as the other two.
    weirdest thing is that if change ‘Art’ to ‘bArt’ (and only that), that line then is left-justified. changing it back to ‘Art’ causes it to become right-justified again.
    help, help, please. i haven’t a clue what’s doing this. i can’t make it available to look at as the rest of the site is live and i can’t make the new page=>sidebar->menu public.
    tx in advance for any clues, hints, corrections, suggestions, requests for more info, ???.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Thread Starter BillTheLizard

    (@billthelizard)

    tx. already tried ff’s built-in inspector, firebug on ff, and chrome’s built-in inspector. none of them show any differences in the css for the first and following menu display lines, even when i add the extra letter that makes the first link text move to the left.
    btw, i wasn’t looking at the code when i wrote the op; there is one more css element, but same question since all the lines of code should have the same css.

    #pm_ul{some css}
    #pm_li{more css}
    #pm_li a{even more css}

    all the anchors display text should display the same.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘css not applied properly’ is closed to new replies.