Jump to content

Help with mega menu

Recommended Posts

Site URL: http://myessential.squarespace.com

Hello.

I am using this code to drag a footer in my folder in header to make a mega menu or more extended dropdown menu.

I am following instructions in youtube and here, but i am in a dead en, i will apreciate ur help

 

password to see website is      Elemento4

<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script>
$(function(){
$('.header-display-desktop [href="/puebla"] + .header-nav-folder-content').append($('#footer-sections section:nth-of-type(2)'));
 });
</script>

Link to comment
  • Replies 9
  • Views 1.3k
  • Created
  • Last Reply
9 minutes ago, adcj11 said:

Site URL: http://myessential.squarespace.com

Hello.

I am using this code to drag a footer in my folder in header to make a mega menu or more extended dropdown menu.

I am following instructions in youtube and here, but i am in a dead en, i will apreciate ur help

 

password to see website is      Elemento4

<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script>
$(function(){
$('.header-display-desktop [href="/puebla"] + .header-nav-folder-content').append($('#footer-sections section:nth-of-type(2)'));
 });
</script>

You missing the style part, did the instruction provide it? The menu actually moved to correct placeimage.thumb.png.dee28de2d48859a8d96673f1fcc60c6a.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
32 minutes ago, bangank36 said:

You missing the style part, did the instruction provide it? The menu actually moved to correct placeimage.thumb.png.dee28de2d48859a8d96673f1fcc60c6a.png

Can you help me, how can I changue the background color box by transparent value?

.header-display-desktop [href="/destinations"] +
.header-nav-folder-content{
  width:30vw;
position:absolute;
box-sizing:border-box;
  right:-0 !important;
  left:-10 !important;
  padding: 23px;
  border-botom: 0px solid;
  }

 

I had been using this but the menu still not aligned and black in the background.

Link to comment
23 minutes ago, adcj11 said:

Can you help me, how can I changue the background color box by transparent value?

.header-display-desktop [href="/destinations"] +
.header-nav-folder-content{
  width:30vw;
position:absolute;
box-sizing:border-box;
  right:-0 !important;
  left:-10 !important;
  padding: 23px;
  border-botom: 0px solid;
  }

 

I had been using this but the menu still not aligned and black in the background.

try

.header-nav-list .page-section .section-background {
  background-color: #000000;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 4/13/2021 at 9:08 AM, adcj11 said:

Can you help me to erase or not have this thick borders in the navigation box? I mean dissapear them

 

Captura de Pantalla 2021-04-12 a la(s) 21.07.36.png

Add to Design > Custom CSS

/* remove folder black border */
.header-nav-folder-content {
    background-color: transparent !important;
    border: none !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

 

On 4/14/2021 at 3:17 AM, tuanphan said:

Add to Design > Custom CSS


/* remove folder black border */
.header-nav-folder-content {
    background-color: transparent !important;
    border: none !important;
}

 

I added, but now the background is full black, I would like to appear as the original design in the footer is before aply the mega menu code. Like the pic behind still looking in a transparency or just stay like the original design.

Link to comment
On 4/22/2021 at 5:08 AM, adcj11 said:

 

I added, but now the background is full black, I would like to appear as the original design in the footer is before aply the mega menu code. Like the pic behind still looking in a transparency or just stay like the original design.

Can you send original design?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.