GUI

Started by dayat, April 06, 2023, 07:49:13 AM

Previous topic - Next topic
Hello im new here
im want to edit this menu where i can find the index.php and css for this and the navbar?


https://ibb.co/dpddDT9

/usr/local/opnsense/www/themes
Also, you can use F12 to inspect and edit the web page as needed.

i can't find any section or body  in index.php,

where the html version,

I used inspect element but couldn't find the same file or the css

https://ibb.co/PM0D780
https://ibb.co/ZmKmxRf

If you want to change the theme, you can go to "usr/local/opnsense/www/themes/opnsense/build/css/main.css" to make the changes you want. I suggest using your browser's F12 tool to find the part you want to change.
If you want to design a layout, you can find it in "usr/local/opnsense/mvc/app/views/layouts/default.volt" and "usr/local/opnsense/mvc/app/views/layout_partials". Take a look at those files.