Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: How to resize the width of megadropdown

Home Forums Older releases 0.9.x How to resize the width of megadropdown Reply To: How to resize the width of megadropdown

#2362
rburns
Participant

Figured it out. Just added the inline style below. The Left style can be adjusted for each dropdown.

  <li><a href="#">ADMINISTRATION</a>
    <ul class="mega-menu">
      <li>
        <!-- The mega drop down contents -->
        <div style="width:985px; height:445px; position:relative; left:-75px; border:1px #8ab764 solid">
          <div style="padding:5px 24px; position:relative;">
            <p>This is a mega drop down test. Just set the "mega-menu" class to the parent UL element to inform the SmartMenus script. It can contain <strong>any HTML</strong>.</p>
            <p>Just style the contents as you like (you may need to reset some SmartMenus inherited styles - e.g. for lists, links, etc.)</p>
	  </div>
	</div>
      </li>
    </ul>
  </li>