• Resolved fimpass

    (@fimpass)


    How can i change the colors of the rectangular shapes that are find on the index page and that represent the Latest articles? Here is the site : http://ab0files.com/ it will contain web security related topics. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    If you want to change the color you could install this plugin: https://wordpress.org/plugins/simple-custom-css/ and in Dashbord -> Appearance -> Custom CSS add this:

    article.masonry-brick {
     background:red !important;
    }

    where red is the color of your choice.

    Regards,
    Rodica

    Thread Starter fimpass

    (@fimpass)

    Hey Rodica,thanks for your answer,the addon is useful,but i don’t want the rectangular shapes to have the same color.I want to make separate colors for every box.

    Thread Starter fimpass

    (@fimpass)

    I did some research about ” nth-child(x) ” and i saw that if i replace “x” with the no. of the article i can replace the background color with the one i chose.
    For those who need the answer to my question :
    1- install : https://wordpress.org/plugins/simple-custom-css/
    2- In custom CSS add this:

    -this code will replace the 1 article background with red

    article:nth-child(1){
     background:red !important;
    }

    Ok, I am glad you managed to find the solution 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Colors of the big rectangular shapes’ is closed to new replies.