Jump to content

Customization of dropdown menu alignment CSS

Recommended Posts

16 hours ago, Bettoriginal said:

Site URL: http://www.bettoriginal.com

 I need help with CSS in Customization of dropdown menu alignment.
The dropdown is only left-aligned in the first dropdown in the others it's  not exactly under the menu tab it's supposed to.
Do you think you can help me?
my website is: https://www.bettoriginal.com/
Pass is: betto 

Hey @Bettoriginal try to remove Your custom code:

a.header-nav-folder-title:hover+div, .header-nav-folder-content {
    text-align: left !important;
    position: absolute;
    left: 100% !important;
    right: unset !important;
    -webkit-transform: translatex(-50%);
    -o-transform: translatex(-50%);
    transform: translatex(-50%);
}

and add this:

.header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content {
    left: -1em;
    right: auto;
    text-align: left;
}

 

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Link to comment
On 11/28/2021 at 10:14 PM, puslingpaahaender said:

Hello. I'm having trouble with getting the dropdown of the nav bar in my shop  aligned vertically. Could the code atop be a solution? Especially on a mobile device it's looking quite messy. I have costum code so that I can have a navigation bar and another for the subcategories/ description of category underneath title. Thank you. 

Can you share site url? We can check easier

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.