Ask questions about FlatPress themes, present your themes, request new themes.
-
macadoum
- Posts: 51
- Joined: Sat Jan 20, 2024 10:32 pm
Post
by macadoum » Tue Feb 17, 2026 8:44 pm
Hello all, I'm working on a theme using Copilot. I have a problem with the theming of the admin section.
I can try whatever I want, Copilot is not able to work correctly on the styling of the administration tab menu and sub menu ( CSS : #admin-tabmenu and #admin-submenu)
I wonder if there could be another CSS applied to this menu from somewhere outside the theme folder ? Located elsewhere in the code? It's strange because it's really the only place where the AI fail the apply any change...
This is what I got actually :

-
fraenkiman
- FlatPress Coder
- Posts: 478
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
-
Contact:
Post
by fraenkiman » Thu Feb 19, 2026 1:30 am
The AI is too stupid for that. I have tested several LLM's.
- What you can try is to upload a very reduced repo. (No setup, just two language packs, minimalist plugin configuration, and a theme with one style (preferably Leggero v2).
- Then instruct the LM to test a container and create a working directory.
- Then instruct the LM to analyze the front end first (CSS + PHP code).
- Then instruct it to analyze the admin area.
- In between, you have to keep displaying and verifying a summary + evidence.
- Only when the LM has understood the code is it able to spit out something useful. Always have the diff and the patched files output.
At least this works reasonably well with Gemma 3 and OpenAI's 4o-mini-high.
You can expect to get something useful back only after the 40th prompt, with API access about 10 prompts less.
I believe you'll get there faster with the Chrome developer tool and a smart editor.
Good luck and best regards,
Frank
Who is online
Users browsing this forum: No registered users and 0 guests