• Resolved Luigi Donato

    (@luigimdg)


    Hi,
    I want to add an item to the primary-menu but without link.

    Precisely I would like to add the FB Like Button.

    Thank You,
    Luigi Donato

    • This topic was modified 4 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Please identify exactly which theme you are using and then post in that theme’s dedicated forum so the theme’s developers and support community can help you with this.

    Moderator bcworkz

    (@bcworkz)

    Your theme’s devs are in the best place to specifically address your need, but generally speaking, it’s impractical AFAIK to place FB Like buttons within the menu itself. However, you could place it immediately before or after the menu items and use CSS to position it right next to the menu items so that it appears to be part of the menu even though it’s a separate element. One way to do so is with the “wp_nav_menu” filter for the HTML/script portion. Use the Additional CSS customizer panel for the CSS.

    Thread Starter Luigi Donato

    (@luigimdg)

    The free support forum of GeneratePress redirect here

    • This reply was modified 4 years, 5 months ago by Luigi Donato.
    Moderator bcworkz

    (@bcworkz)

    Where did you get that information?

    Free GeneratePress theme support forum is here: https://wordpress.org/support/theme/generatepress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add li to primary-menu’ is closed to new replies.