Support » Theme: Emmet Lite » Change the background colour of table rows

  • Resolved SimonasAS

    (@simonasas)


    Dear MotoPress,

    I really enjoy using your theme.

    As you may see from my website, the tables I generate have every second row in grey (#f7f7f7).

    Is it possible to make it so that all the table has a white background?

    Would really appreciate your answer.

    Regards,
    Simonas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author MotoPress

    (@motopress)

    Hi,
    You can try to add the style below to style.css file of the Child Theme:

    table tbody tr:nth-child(2n), table tfoot tr:nth-child(2n) {
        background: transparent none repeat scroll 0 0;
    }

    Thanks, that is great! I really appreciate your help. One more question: at the footer there is a pre-built widget which says ‘RECENT POSTS’. Is it possible to rename it to ‘RECENT NEWS’?

    S.

    Theme Author MotoPress

    (@motopress)

    Hi Simonas,
    Yes, you should go to Appearance>Customize>Widgets>Footer Center>Add Widget>Recent Posts. There would be Title box where you should type Recent News and select number of posts to show. Save the changes and preview the website.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change the background colour of table rows’ is closed to new replies.