2 colours set on background

Joe
Joe
Offline
0
Hi there
My current table view is in white, I would like it to be set white/grey, basically first row white, second row grey and so on.

I have found the php line in order to perform this but struggling on what php code to add so it makes up the 2 colours, I have tried suggested php coding but it turn my background black every time I try to make the change. If possible could you please supply me the correct code in order to implement these 2 colours into my table.

Regards
Joe
Responses (6)
  • Accepted Answer

    Friday, June 28 2013, 03:18 PM - #Permalink
    0
    Hello Joe,

    this is already built in... each row in the album view has the class .tr_song_link0 or .tr_song_link1

    so you basically only need to set up the required CSS, like this:

    tr.tr_song_link1 td{
    baground-color:#eee;
    }

    do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Joe
    Joe
    Offline
    Friday, June 28 2013, 03:27 PM - #Permalink
    0
    Sorry I really dont understand how I do that

    Bare in mind you did some custom work for me on this player already.
    do I make the changes in the following location
    webroot / components / com_muscol / views / songs / tmpl / default_songs.php
    The reply is currently minimized Show
  • Accepted Answer

    Joe
    Joe
    Offline
    Friday, June 28 2013, 03:28 PM - #Permalink
    0
    oh yes this is for default artist songs layout not album view

    Joe
    The reply is currently minimized Show
  • Accepted Answer

    Joe
    Joe
    Offline
    Saturday, June 29 2013, 11:29 AM - #Permalink
    0
    Hi germi what would be the correct php code to put in that folder?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, June 29 2013, 11:32 AM - #Permalink
    0
    hello

    in this file the rows are marked with the CSS class: .sectiontableentry1 and .sectiontableentry2

    in your main CSS file, just put this:

    tr.sectiontableentry1 td{
    baground-color:#eee;
    }

    do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Joe
    Joe
    Offline
    Saturday, June 29 2013, 11:36 AM - #Permalink
    0
    I will give that a try

    regards
    Joe
    The reply is currently minimized Show
Your Reply