khiryos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Create submenus for mobile devicesHi Ronald,
For sure. I just waited for you to read my last message.
Thank you again for the help ??
Forum: Fixing WordPress
In reply to: Create submenus for mobile devicesInteresting: it’s fine with Chrome. Thus, the fault comes from the internet browser called “Samsung Internet”. Maybe the next update will resolve this (minor) problem.
Forum: Fixing WordPress
In reply to: Create submenus for mobile devicesHi Ronald,
Excuse my lack of knowledge. By “section”, I mean the different parts of the code of the functions.php file (or style-mobile.css file) that are separated by comments. It is indeed a theme template provided by WordPress and not a theme entirely built by my own hands.
I put the first block at the end of the code of the .php file (it does not have a closing “?>”) and the second one at the end of the .css file (idem). But my smartphone does not take into account the left margins of the submenus and the down arrow of the parent menus. It does work on other devices (tablet, computer).
Tomorrow, I will try on another smartphone and I will let you know.
Cyril.
Forum: Fixing WordPress
In reply to: Create submenus for mobile devicesHello Ronald,
Sorry for the delay, I’ve been working a lot since a week.
I’ve just integrated the two code parts you provide. I pasted the first one into the “content width” section of the “functions.php” file. It’s a success, both on the tablet and the phone. I pasted the second part of the code into the “tablet style” section of the “style-mobile.css” file. It works like a charm on the tablet (indentation + little down arrow) but it does nothing on the phone. I tried to paste the code into the “phone style” section of the same file but it does not work either. It’s strange…
Thank you very much for your help. It is very efficient!
Cyril.
Forum: Fixing WordPress
In reply to: Create submenus for mobile devicesHello Ronald,
Thank you for your help. I just replaced the “projets” and “recherche” pages by placeholders. I would like to open submenus on click when using smartphones but show submenus on hover when using a computer. Is it possible?