• On my home page I’ve menu items(example:Home,About,Sponser) which have submenu (example: Sponser->past, present). Now When I click on “present”(submenu), it should redirect to the targeted div. I have done this by providing div id to the submenu. But the problem is when it redirects, the div is hiding behind the header. How can I overcome this? I thought of resolving this using javascript. But I can’t give id. Can anyone help with this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I take it you have a sticky header? Why don’t you link to an ID element a little farther up so when that element is at the top of the viewport, the actual intended element ends up below the header?

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect to the target div Onclick a sub menu item.’ is closed to new replies.