Link to home
Create AccountLog in
Avatar of Bob Stone
Bob StoneFlag for United States of America

asked on

Dropdown menu on Opencart 2.0.1.1 not working consistently

Building a new Opencart 2.0.1.1 site at http://wichitaoutlet.com/  and drop downs on header menu aren't working right.

The one for Currency works fine but the My Account drop down is showing way at the bottom of the screen. I can't figure out why. The only thing I've added to the header.tpl is a tagline div with position: absolute but it does the same exact thing when I remove it.

How do I fix this?
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

In the bootstrap.min.css there are 2 properties that are causing your menu to be out of position:

.dropdown-menu-right {
   right: 0;
}

.dropdown-menu {
   top: 100%;
}

Open in new window


remove those 2 properties and it'll position correctly.
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Bob Stone

ASKER

Thanks. That worked :)