Support » Theme: Pique » nth-of-type(odd) affects 2 consecutive panels

  • Resolved Dan761



    I have 6 panels on the home page (including the first/’hero’ one).
    They have alternating white & dark back grounds.

    I am trying to change the colour of the panel heading on (only) the white panels to a dark colour (because by default they are white, so not visible on the white background).

    I am using:
    .pique-panel-content:nth-of-type(odd) h2 {
    color: #7f7f7f;

    This is mostly successful, but for some reason the final panel also has the heading colour set to the dark colour. It is an even number, number 6.

    Any suggestions ?


    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘nth-of-type(odd) affects 2 consecutive panels’ is closed to new replies.