Page 1 of 1

Admin tab menu CSS question

Posted: Tue Feb 17, 2026 8:44 pm
by macadoum
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 :

Image

Re: Admin tab menu CSS question

Posted: Thu Feb 19, 2026 1:30 am
by fraenkiman
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