Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: menu link to open page in specific position

Discussion in 'Misc WordPress Requests' started by asadmalikdotpk, Feb 22, 2018.

  1. asadmalikdotpk

    Guest

    Reply To: menu link to open page in specific position, by asadmalikdotpk

    This is neither a theme setting nor a wordpress setting. Its basic html. First give your target object (div, p, span, etc) an id. Then in url append that id with # sign. Like this http://www.example.com/about.html#mytargetdiv. Where mytargetdiv is the ID of your target element. Now when you click this element (div, a, span etc)…browser will scroll to the target block automatically.

    Hope this helps.

    Reply To: menu link to open page in specific position
     
    #1

Share This Page

Monarch Social Sharing Plugin