customizing grid (color)

28 views
Skip to first unread message

Vlad

unread,
Apr 27, 2020, 2:19:36 PM4/27/20
to web2py-users
Is there a way to customize colors in the w2p grid similar to bootstrap idea, for example something like .table_dark in bootstrap? 

I tried this: 

<style>
.w2p_odd {
   background-color: brown;
   color:white;
}
.w2p_even {
   background-color: black;
   color:white;
}
</style>

and it gives weird results. wondering what's the most appropriate way there is for this kind of customization. 
Reply all
Reply to author
Forward
0 new messages