Alternate colors in the slider – Sight theme

  • Author
  • #1049497

    Hello, I am using Sight theme, and I have the custom upgrade. A question on the sticky posts in the slider. I would like to alternate the color of the background of these posts; it can be possible? And do you have any suggestion how to do it? Many thanks, E.

    The blog I need help with is


    To change the clicker background colors in the Sight theme, add this to your Appearance → Custom Design → CSS editor:

    .featured-post:nth-of-type(1) {
    	background: red;
    .featured-post:nth-of-type(2) {
    	background: lightblue;
    .featured-post:nth-of-type(3) {
    	background: yellow;
    .featured-post:nth-of-type(4) {
    	background: darkorange;
    .featured-post:nth-of-type(5) {
    	background: green;
    .featured-post:nth-of-type(6) {
    	background: aliceblue;
    .featured-post:nth-of-type(7) {
    	background: tomato;
    .featured-post:nth-of-type(8) {
    	background: lightgray;
    .featured-post:nth-of-type(9) {
    	background: white;

    Change the color names to color codes of your choice:

The topic ‘Alternate colors in the slider – Sight theme’ is closed to new replies.