Jump to content

Navigation dropdown background & mobile navigation dropdown size

Recommended Posts

Site URL: https://www.mahanidelborrello.com/

Hi,

Is it possible to remove the black background on the navigation dropdown when there is a background image? It is currently black and very chunky looking. I would it to be transparent, or no background if possible.

I did try adding the code below (from another forum question) and it appeared to work in the preview but promptly returned to showing a black background again.

 

body:not(.header--menu-open) .black .header-nav-folder-content {
    background-color: transparent;
}

 

.722172073_ScreenShot2021-05-28at5_34_28pm.png.3957b9b3f075b884b8c9b91c92f4ba44.png

 

Also, is it possibly to reduce the dropdown menu text size on the mobile version? Long page names currently split over two lines and it looks awful.

 

808017215_ScreenShot2021-05-28at5_34_44pm.png.1ef4214b3aee1f2d0ad91e1cd075a50d.png

 

Thanks

 

Link to comment
  • Replies 5
  • Views 345
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

No, neither of these questions is solved.

The code you referred to made the main navigation slightly smaller.

There is still a black background to the dropdown menu when viewing the homepage on a desktop as per the image attached above.

And the dropdown menu text size is still too large on mobile, see other image attached above. More specifically if you click on 'Work',  the sub menu item 'Some place, no place' is split over 2 lines, I would like it all to fit on one line.

Thanks

Link to comment

Add to Page Header where you want to make dropdown black to transparent

<style>
  .header-nav-folder-content {
    background: transparent !important;
}
</style>

With dropdown font size on mobile, add this to DESIGN > CUSTOM CSS

/* Mobile folder font size */
div.header-menu-nav-folder-content .container a {
    font-size: 14px;
}

 

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 5/31/2021 at 6:08 AM, picturette said:

Perfect!

Thank you, thank you, thank you!

Do you need fix these?

Site URL: https://www.mahanidelborrello.com/

1. (Overlay Menu) Change Site title color?

mahanidelborrello.com-01-min.png

2. (Tablet-Contact) Align site title/burger with page content – You haven’t changed SEO Title so the browser tab name still shows “Contact 3”

mahanidelborrello.com-02-min.png

3. (Mobile-Products) Add a breadcrumb on top of product?

mahanidelborrello.com-03-min.png

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.