Paper Template

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Paper Template

Post by SkayyHH » 2021-01-15 23:25

If we use the "paper" template, has anyone ever customized the select2 lookup dropdown field appropriately with css? The dropdowns have a border against the other fields.

Thanks a lot for help, Kai

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1167
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Paper Template

Post by onoehring » 2021-01-16 07:44

Hi,

I am not sure what "paper" template you are talking about, but customizing the look of a select2 was my question (and answer) here: viewtopic.php?f=2&t=4116
Maybe this helps.

Olaf

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Paper Template

Post by SkayyHH » 2021-01-16 11:15

Hi Olaf,

thank you very much for your answer. Sorry I meant the "Paper Theme" in AppGini.

There are the fields without frames. Only the dropdowns have borders. I would like to have the same design of the dropdowns as in the date selectors.

I already tried to adjust the borders of the dropdowns via css. But then borders are created around the dropdown...

No idea to do this.

Many greetings, Kai

Image

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1167
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Paper Template

Post by onoehring » 2021-01-17 08:57

Hi Kai,

I would think CSS is the correct way: Press F12, check out the CSS that are used for the drop downs and ... change standard bootstrap CSS. That is the "problem" I see: Formating is done using bootstrap. Maybe it's easier to set some other look for the dropdowns?
Or set your borders, but exclude the dropdowns.
Check this out:
https://stackoverflow.com/questions/248 ... -one-class
and
https://www.geeksforgeeks.org/how-to-ex ... -selector/

Olaf

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Paper Template

Post by SkayyHH » 2021-01-18 07:05

Hi Olaf,

thank you very much again for the help. I got it out. I can change the style in the select2.css file in the select2 folder. :-)

Kai

Post Reply