Hi Paolo,
Maybe
>
> .web2py-menu li:nth-of-type(2) {padding:0;}
>
>
Yes, that solves the problem, thank you for your help.
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/
Maybe
.web2py-menu li:nth-of-type(2) {padding:0;}
Il giorno martedì 5 dicembre 2017 09:35:32 UTC+1, Annet ha scritto:
>
> Hi Paolo,
>
> Thanks for your reply. The problem is that the padding is on the item
> not the btn one.
> My menu is rendered as follows:
>
>
>href="/init/default/sea
Hi Paolo,
Thanks for your reply. The problem is that the padding is on the item
not the btn one.
My menu is rendered as follows:
class="fa fa-search"
Log
in
>Open
account
The padding is on the second item which does not have a class I can
reference in my css.
Removing the paddin
To remove it, you could try following css rules in an external css file
loaded after bootstrap css files
.web2py-menu span.btn{padding:0;}
Il giorno sabato 2 dicembre 2017 18:47:55 UTC+1, Annet ha scritto:
>
> I have the following menu:
>
> response.application_menu = [
> (CAT(I(_class="
4 matches
Mail list logo