- This topic has 2 replies, 2 voices, and was last updated 2 months, 3 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Magpaper Pro › Bug: direction of submenus does not adapt to window
Please refer to this site to understand the issue:
https://historyandtranslation.net
In the main menu, many of the submenus have sub-submenus. E.g. About Us > Manifesto > Submenu of Manifesto
The problem is that these sub-submenus always appear to the left of the submenu, regardless of the fact that they extend beyond the edge of the window. This makes them illegible.
Is there a way of getting these sub-submenus to open to the right? Or to have them to adapt correctly to the width of the window and open to the right or left accordingly?
Many thanks for your help
Chris
@agregatwebmaster, You can add this CSS in the Additional CSS under Customizer section, this will help submenu to open on right side
@media screen and (min-width: 1024px) {
#masthead .main-navigation ul ul li a svg {
display: inline-block;
top: 17px;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg);
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
right: auto;
left: 100%;
}
}
After adding this CSS menu looks something like this
https://www.awesomescreenshot.com/video/31939296?key=d59d3b0130bdd4f6151dfbe84d751297
That did the trick
Thanks very much for you help
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |