Support » Plugin: Max Mega Menu » H tags in widget tigles

  • Resolved juanmafortes

    (@juanmafortes)


    Hi,

    Widget titles in the megamenu are using h4 tags. I would like to change that if possible and use <span> or a simple <p>, no headings. I haven’t seen any way to change that, only the color, size, etc.

    Thanks.

    • This topic was modified 4 months, 2 weeks ago by juanmafortes.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi juan,

    Please check this topic:

    https://wordpress.org/support/topic/how-to-remove-h4-tag-from-titles/

    Regards,
    Tom

    Hi Tom,

    Thanks for the quick response. I tried that, but it just changes h4 for h3, which is “worse” considering I want to remove h tags from the menu for SEO reasons.

    I tried changing <h3> and </h3> for <span> and </span>, but formatting is lost (the format is given in the plugin settings as you know), which is weird.

    Does it mean it stops working if I use span tag? Should I add a class with the spam and format it with CSS? this will probably work, but looks like duplicate work if CSS is already given in the plugin settings.

    Thank you!

    • This reply was modified 4 months, 2 weeks ago by juanmafortes.
    Plugin Author megamenu

    (@megamenu)

    Hi juan,

    That is just sample code, you can change it from h3 to span if you like.

    There’s a note under the code on the other thread:

    ‘The menu styling is targeted at the h4 tag, so changing it to something else will mean you’ll need to add some custom CSS to update the styling.’

    Regards,
    Tom

    Got it, will have to customize it giving a class and using CSS then.

    Thanks and regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.