Title links
-
Hello,
Further to my request to change the font size in the mobile menu, how to enlarge the title of the links as well.
See picture:
ImageThanks
-
How did you add those sections?
I select the navigation menu and I create a custom link #, I turn this link into a submenu.
After I add a category link block and I select my category.
The problem is that the menu in mobile mode always remains open.
For information I use CPT UI and ACF, the links which are in the sound menu category created with CPT UI.
Screen shot below
If you have another solution, I’m interested.
Thanks1
https://snipboard.io/of84xC.jpg2
https://snipboard.io/MaKsCP.jpg3
https://snipboard.io/LtBWE3.jpg4
https://snipboard.io/81lPnd.jpg5
https://snipboard.io/3z5QOl.jpg6
https://snipboard.io/Ncanmg.jpg7
https://snipboard.io/Wnw32H.jpg-
This reply was modified 3 years, 4 months ago by
Steven Stern (sterndata). Reason: formatting
I see. Are you using a block theme? If so, which one?
I’m not sure of the translation of your question.
Go to “Appearance -> Themes” and you should see what theme is currently Active.
Twenty Twenty-Three
The child theme is not used.
https://snipboard.io/1UHEW9.jpg
-
This reply was modified 3 years, 4 months ago by
New_WP.
Ok. I can’t find an option in the UI to change the font size of the submenus, but they have a class:
wp-block-navigation-submenuMy suggestion is to add something like this using CSS:
.wp-block-navigation-submenu { font-size: 30px; }-
This reply was modified 3 years, 4 months ago by
luisherranz.
Hello,
Thanks for the code, I added the CSS code but it does not take into account the font size.Do you have a public URL I could take a look at?
Ok, much easier 🙂
Do this:
.is-menu-open .wp-block-navigation-submenu a { font-size: 30px; }Great it works, last question it is possible to ensure that the mobile menu does not remain permanently unfolded.
Quil works like the desktop menu.
ThanksCan you please close this ticket as resolved and open a new one for the new question?
That way, if someone else looks for your second question, it’ll be easier for them to find the answer 🙂
Ok
-
This reply was modified 3 years, 4 months ago by
The topic ‘Title links’ is closed to new replies.
