CSS issues: subnavigation and header

Hi all,

can you please take a look at this website: http:// praktijk -gedragstherapie. be/ (please copy&paste)

  1. The address in the header should be vertically centered. Any tips on that one?
  2. the submenu under “Specialisaties” should appear when clicking on “Specialisaties” and should stay put when an item of this submenu is active. Advice needed… Thanks!

/Jammmy

Hi,

You could just move the address down with a top margin on the p element (unless you meant something automatic but that would be a lot more complicated).


#header-adres p{margin-top:40px}

If you want the current menu to stay open when you travel to another page then I believe you already have classes in place for this:

Try this:


li.current-menu-parent ul{display:block}

Hi Paul O’B

Thanks for your reply! That helps a lot :slight_smile: