• IE is crappy and doesn’t support this li styling, so don’t bother trying to help me if you’re only using IE. ??

    Under “Links”, my sub-category headers are being put in li‘s by the WordPress function.

    Via CSS, how can I remove the >>‘s for just them?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m not 100% sure, but if it works like a problem I recently had, you can wrap the PHP call for the links function in <UL></UL> tags with a class setting for no list style in the CSS file. So, in the CSS file, you might have this:

    ul.nobullet {
    list-style-type: none;
    }

    And then you’d wrap just the links PHP call like this:

    <UL CLASS="nobullet"><?php get_links_list(); ?></UL>

    Someone else might know a better solution, but this should work.

    Thread Starter viper007bond

    (@viper007bond)

    But I want the links themselves to have >> in front of them as they do now.

    The headers have an ID, but this doesn’t make it go away:

    #linkcat-1 { list-style-type: none; }
    #linkcat-2 { list-style-type: none; }

    If I were to say put color: red; in there, it makes them red, but list-style-type doesn’t get rid of the >>. I think it’s due to how they are being put there:

    #sidebar ul ul li:before { content: "0BB 020"; }

    It is ‘due to how they are being put there’. It’s not a CSS issue. You’ll have to hack the core WP files to make the li’s go away. There possibly may be a plugin…

    Thread Starter viper007bond

    (@viper007bond)

    There has to be a way to undo the before { content: "0BB 020"; } part though on certain items. Or is there not? content: none; or something…

    Don’t hack the core files, it is a css issue. You can do it one of two ways. The first is to assign the :before stuff not generically but for each section. Another way is to wrap the portion you want to remove the css from with a unique identifier (like <li id=”links”>) and specifically set the next li to empty.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove “li” stylings from link headers’ is closed to new replies.