Support » Themes and Templates » Remove <br *> from links page

  • Is there any way to remove the <br *> after every link on the links page? For example, I’d like my links to show side by side, like “link1 link2 link3”, instead of in a list… I tried to remove the formatting, but it didn’t work.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you checked out the parameters of the wp_get_links() or get_links() for how to lay these out.

    I don’t know you structure but if you know css just add this to the style for your right or left hand CSS. I’m just assuming it’s #sidebar in the example. “display: inline;” will make your

  • flow next to each other. You’ll have to set a width for how many will show up next to each other or use a br tag after every 2 items.

    Lorelle not everything is in the “manual” as they say. His question is more of a formatting question for list items that it is on how WP generates the list. Wanting to paint your car red is different than wanting to make the red paint to paint your car.

    #sidebar ul li {
    display: inline;
    }

While not everything is in the Codex “manual”, a lot is and you never know what people might find when they look:

http://codex.wordpress.org/Creating_Horizontal_Menus

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove <br *> from links page’ is closed to new replies.