Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] What is the HTML element that wraps GP's page content?

Home Forums Support What is the HTML element that wraps GP's page content?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #370820
    Andrea

    Hi!

    I’m trying to make a customization to the width of a max mega menu I’m implementing. Right now the sub menu’s width does not get larger than the width of the main menu so I went to the Mega Max Menu website for documentation/ help.

    I found this https://www.megamenu.com/documentation/adjust-sub-menu-width/:

    “Dynamic widths can be used to automatically aligned and size the sub-menu to match an existing element on the page.

    To make use of this feature you’ll need to find the HTML element that wraps your page content and use the ID or class of the element (in the form of a jQuery selector) as Panel Width setting.

    For example: #container, body, #page, .content.”

    Technically this answers my question but I’m really not sure what HTML element I’m looking for and additionally I have very minimal experience with JQuery so I was wondering if anyone else had done this before and could give me some tips?

    Thanks!

    GP Premium 1.4.3
    #370949
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You should be able to use #page.

    Let me know if that works or not 🙂

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