Customize css styles in AdAdmin

To customize the css styles of your AdAdmin installation you have to create a custom theme. To create a custom…

June 17, 2022

To customize the css styles of your AdAdmin installation you have to create a custom theme.

To create a custom theme go in the AdAdmin data folder (normally it is amb/data dir).

Inside this folder there is directory called tema, which is the italian word for theme. So you can duplicate the tema folder and rename it as you want. For example call your copied folder mytheme.

After that, open the pons.settings.php file and change the line 44, which is this one:

DEFINE("DOMINIODEFAULT","tema");// graphic theme folder

change “tema” and place your folder name:

DEFINE("DOMINIODEFAULT","mytheme");// graphic theme folder

Now AdAdmin loads your files in this folder.

Inside your mytheme you will find some php files. For example here you can customize your layout-login-form.php, pay attention to not delete important code.

You can modify the stile.css file. Which, as you can see, it is empty. This css file is for your customization, it’s included all over the AdAdmin backoffice pages.

Author

I'm a software engineer, an everyday web developer and a maker. I usually build sites with PHP, within or without WordPress. I build Internet of Things with Arduino and ESP8266. I'm the founder of Rockit.it and Dailybest.it and I'm actually the Chief Technical Officer of Better Days web agency.

Comments on “Customize css styles in AdAdmin”

Leave a Reply

Your email address will not be published. Required fields are marked with an *

Recommended

AdAdmin add footer sticky banner

To add a footer sticky banner with AdAdmin software follow these steps: Create a new AdAdmin position Create a new…

April 16, 2022

AdAdmin vignette banner configuration

Create a Position for the vignette ads: Flag the “Vignette mode” in the position configuration (the script above changes, so…

April 12, 2022

AdAdmin ad scripts with document.write

Script banners that uses document.write javascript function doesn’t work anymore with AdAdmin positions since version v.3.85 (03/11/2020). This happens because…

March 9, 2022

AdAdmin 3.99 update, fallback filler option

In the version 3.99 of AdAdmin has been added support for fallback filler. The fallback filler is a banner already…

March 5, 2022

Use the same position multiple times to display ads in one page

If you need to reuse the same script position in a single page to display ads, be sure to change…

March 3, 2022

AdAdmin video banner examples

In this article you can find two HTML5 video banner templates that can be used in your AdAdmin installation. These…

January 29, 2022