Support » Themes and Templates » image with li:after goes after submenu?

  • Resolved Kettercat



    I’m trying to use the li:after code to add an image next to a list item, it works great apart from this page: (the menu on the right sidebar)
    This is the current page, and the button appears below the children of the submenu. How do I put it next to the parent itself?


Viewing 2 replies - 1 through 2 (of 2 total)
  • You are adding the arrow icon after the list item, and since the list item contains the child list, the arrow shows up after the whole thing.

    You probably want to try using after on the link inside the list item.
    So something like
    .side-menu li a:after

    Works great! Thanks sekli 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image with li:after goes after submenu?’ is closed to new replies.