- This topic has 15 replies, 3 voices, and was last updated 2 years, 4 months ago by Fernando.
-
AuthorPosts
-
September 5, 2022 at 1:22 pm #2334211Bernhard
Hello,
In the screenshot you can see how it is now.The problem is the switcher sign “Λ ” behind the icon of the plane. if it would then also no longer be there behind the language switcher, it would also be good. Is this possible?
The other problem is the width of the submenu. It should be narrow enough to fit the three letters. I don’t see how to set it in the customizer.
Thank you
BernhardSeptember 5, 2022 at 6:50 pm #2334325Fernando Customer SupportHi Bernhard,
For the second issue, try this CSS:
.secondary-menu ul.sub-menu { width:fit-content; }
As for the first issue, to clarify, would you like to remove the dropdown icon?
September 5, 2022 at 10:44 pm #2334412BernhardHi Fernando,
Thank you for the CSS.For the first issue, yes, I would like to remove the dropdown icon.
September 5, 2022 at 10:55 pm #2334416Fernando Customer SupportI see.
You can try adding this CSS as well:
span.dropdown-menu-toggle { display: none !important; } .secondary-navigation .main-nav ul li.menu-item-has-children>a { padding-left: 7px; padding-right: 7px; }
September 5, 2022 at 11:18 pm #2334432BernhardOk, the dropdown icon is gone. For what is the second part of the CSS with the padding? I see no change.
September 5, 2022 at 11:22 pm #2334434Fernando Customer SupportBy default, menu items that have sub menus have no padding right. I added it back, and added the left padding parameter so you don’t get confused when you change paddings. You can remove the
padding-left
rule, or remove both if you prefer.September 5, 2022 at 11:56 pm #2334459BernhardPerfect, thank you π
September 6, 2022 at 12:18 am #2334480Fernando Customer SupportYou’re welcome Bernhard! π
September 6, 2022 at 2:55 am #2334631BernhardHi there,
one more question: in the customizer I can select for the secondary menu the drop down directions left and right. Is it possible to center?September 6, 2022 at 4:23 am #2334717DavidStaffCustomer SupportHi there,
there is no center option.
We could use some CSS to do something like that.Is it just on mobile ?
September 6, 2022 at 4:30 am #2334722BernhardHi David,
yes, on mobile.September 6, 2022 at 1:10 pm #2335244DavidStaffCustomer SupportWhich site ? as i don’t see the changes that you did with Fernando
September 6, 2022 at 1:46 pm #2335274BernhardSometimes an old version hangs somewhere in the cache. I hope you can see it here
https://www.tourist-in-rom.com/en/ (if you see 5 icons in the menu for fb / plane / train / bus / taxi it’s the correct version)The padding I inserted in the customizer, in the child team it did not work.
.secondary-navigation .main-nav ul li.menu-item-has-children>a { padding-right: 7px; }
September 6, 2022 at 5:44 pm #2335379Fernando Customer SupportCan you try adding those icons through a Block Element hooked to
inside_secondary_navigation
? You may use a WP Navigation Block.We’ll try to center it afterwards.
Or, you can also move the other menu items -> Colosseum, Vatican, Autumn, Language button instead of the icons. Either should be fine.
September 7, 2022 at 12:10 pm #2336333BernhardHi Fernando,
I think this is too much effort. Also because I have to reproduce it later in three languages for each change. It looks good this way too.
Thanks for the help π
Bernhard -
AuthorPosts
- You must be logged in to reply to this topic.