• apples09

    (@apples09)


    The links to months in the archive has bullets. I don’t know how to get it out.
    [ < ] ?php get_archives(‘monthly’); ?[ > ] is replaced with a link enclosed in li
    How can I get rid of those bullets?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Anonymous

    https://wiki.www.ads-software.com/index.php/TemplateTags#About-the-blogx20.tags
    try this:
    <?php get_archives('monthly', , ,'','
    ', true); ?>

    ~ ByteWarrior

    NuclearMoose

    (@nuclearmoose)

    Another solution is to use CSS by adding list-style: none; to the appropriate UL / LI selectors.

    willm

    (@willm)

    Doesn’t ByteWarrior’s solution work then?

    Thread Starter apples09

    (@apples09)

    Anonymous: It didn’t work. Thanks anyway.
    NuclearMoose: Thanks for the tip! It worked. I just had to enclose that line with <span style=”line-style: none;”>, and the bullet is gone.

    Mischa

    (@anunnaki)

    <span style=”line-style: none;”>
    –> did you mean
    <span style=”list-style: none;”>
    i guess so;-)

    Anonymous

    Do you mean you are putting in line styling in the page index.php rather than putting it all in wp-layout.css? Matter of choice but could get confusing. I put the whole lot in layout. Far easier to change later or to offer alternative styles. (Or to post them in fancy competitions :-).) A lot of folks do this (style in line) but it may not necessarily be *a good thing*. You end up with PHP calls, XHTML, and Style all on one page. Not pretty. Good luck anyway.

    tcervo

    (@tcervo)

    Not to mention your external style sheet is cached by the browser. Inline styles will be fetched each time (since these are dynamic pages…)
    -Tony

    razorwriter

    (@razorwriter)

    I’m having the same problem with the categories bullet under each post. This variable is asking for a style called “post-categories” that I can’t even find in the default CSS… and it’s not taking my own redefining of that. Take a look at https://www.brainfuel.tv/index.php and see if you can tell why it’s still not taking my list-style: none;.
    Any ideas?

    tcervo

    (@tcervo)

    razorwriter,
    Add the following to your style sheet:
    ul.post-categories li { list-style: none; }
    -Tony

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘removing <li> on archives links’ is closed to new replies.