SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2011
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,788
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    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).

    Code:
    #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:
    Code:
    li.current-menu-parent ul{display:block}

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2011
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul O'B

    Thanks for your reply! That helps a lot :-)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •