Forums: alternate row color on bootstrap - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

alternate row color on bootstrap Rate Topic: -----

#1 User is offline   gonzalosb 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 170
  • Joined: 11-September 13
  • Gender:Male
  • Location:Miami, FL
  • Interests:the fastest answer is in what i'm not

Posted 26 June 2018 - 08:07 PM

hi to ALL,
how can i alternate row background color on bootstrap on list, add, edit and view regardless of the content
#cccccc
#FFFFFF

i try custom CSS on STYLE section but i cant figure this out.

please help.
0

#2 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16109
  • Joined: 03-February 03
  • Gender:Male

Posted 04 July 2018 - 07:56 AM

You should try something like this in Custom CSS:

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #ff0000;
}

.table-striped>tbody>tr:nth-of-type(even) {
    background-color: #0000ff;
}

Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users