• Hi there,

    I would need a little help. I use the Legende theme – there is no option for adding an ID to a section. I can only add an CSS class name. Is is possible to use this CSS class name? I read the documentation and tried my best but still – it doesn’t work.

    I would really appreciate if someone would give me a hand.

    Thanks, Jonas

    https://wordpress.org/plugins/page-scroll-to-id/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author malihu

    (@malihu)

    It’s not possible. The plugin works only with the ID attribute as it needs to be unique (same classes can be used in many elements within a page). It’s the same way HTML anchor points and URL hashes work.

    So you’d have to either edit your theme’s template or maybe add the attributes via a js/jquery script.

    Thread Starter mnovu

    (@mnovu)

    Thanks! I solved it with a simple <div id=”XY”></div>.

    I have another question: I use the plugin as a main menu. On my start page (Home) I use a full weight slider. The section I would like to reach with the <div id=”XY”></div> is under this slider. Unfortunately, the menu button for <div id=”XY”></div> is already highlighted when I browse to my start page.

    Is there any chance to disable this?

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ID problem / Legenda Theme’ is closed to new replies.