Jump to content

Custom sub menu

Recommended Posts

Site URL: https://octagon-triceratops-czm6.squarespace.com/

Hello,

Can anyone help me? The dropdown of my menu isn't looking good, so I would like to customize it to the example I have attached. The first pic is what it looks like as of now, the second picture is how I would like it to display (centered). I also want the dropdown background to be less wide, its too long as of now for my titles and I dont wan't it under the other titles 

Password for the site: OH2022

Thanks!

mockupcss.jpg

Link to comment
  • Replies 6
  • Views 374
  • Created
  • Last Reply

Top Posters In This Topic

hello,

Could the dropdown texts be aligned center as well as the dropdown background? As of now, the main title "How it Works" is aligned center, but the 3 dropdown titles and the background are aligned right. thanks! 

 

629029182_ScreenShot2022-07-03at12_07_06.thumb.png.6cb20b7f52ad77008a9fa93acaed0469.png629029182_ScreenShot2022-07-03at12_07_06.thumb.png.6cb20b7f52ad77008a9fa93acaed0469.png

Link to comment

Also, is there a way to make the footer more responsive so that this doesn't happen when I narrow the page?When I narrow the page, unless I do an approximate size of "mobile" or "tablet" it breaks the words on the footer and images 

image.thumb.png.fed8b075cc9d139bf55d10a0716c68a6.png

And here is another image if I narrow the page enough to simulate mobile, where it does look good 

503866615_ScreenShot2022-07-03at13_12_56.thumb.png.00c26d4d25535819eb6fe5c0163b8079.png

 

Is there a way to keep it responsive at all times? thank you!

Link to comment

#1. Try this new code

.header-nav-folder-content {
    width: auto !important;
    min-width: unset !important;
    left: 50% !important;
    transform: translateX(-50%);
}

#2. Try this code

div#block-ca4695f04464f0f04baa * {
    white-space: nowrap !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

Hello,

the background of the dropdown isnt working (its showing the background cut)734871201_ScreenShot2022-07-07at09_17_15.thumb.png.79d00fbb1e6a37725a72419fc3bb6f71.png, is there a way to maybe either fix that or remove the background colour? I think removing background colour might be easier, or if I can get a code for: fixing the dropdown background and 1 code for: removing the dropdown code, to see if any works? thank you and sorry for asking so many questions
 

Link to comment
16 hours ago, rio9 said:

Hello,

the background of the dropdown isnt working (its showing the background cut)734871201_ScreenShot2022-07-07at09_17_15.thumb.png.79d00fbb1e6a37725a72419fc3bb6f71.png, is there a way to maybe either fix that or remove the background colour? I think removing background colour might be easier, or if I can get a code for: fixing the dropdown background and 1 code for: removing the dropdown code, to see if any works? thank you and sorry for asking so many questions
 

Use this new code

.header-nav-folder-content {
    left: 50% !important;
    transform: translatex(-50%);
    width: auto !important;
    min-width: 100px !important;
    background-color: Transparent !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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.