Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I’ve done it with: nth-child. This is the code that I used in case it works for you.

    / ************************************************* **********
    ******************** BLOG ***************************** ****
    ************************************************** ********* /
    .container {
    width: 80%;
    margin: 0 auto;
    }

    article.blog {
    }
    h2.entry-title a {
    color: black;
    }
    .list-entries article: nth-child (1) {
    min-width: 100%! important;
    margin-top: .5rem;
    }
    .list-entries article: nth-child (1) img {
    padding: 1em 3em;
    margin: 1em;
    }
    .list-entries article: nth-child (2) {
    max-width: 33%! important;
    }
    .list-entries article: nth-child (2) img {
    min-width: 33%! important;
    }

    .list-entries article: nth-child (3) {
    min-width: 66%! important;
    }

    .list-entries article: nth-child (3) img {
    min-width: 66%! important;
    }

    .list-entries article: nth-child (4) {
    max-width: 66%! important;
    }
    .list-entries article: nth-child (5) {
    max-width: 33%! important;
    }
    article.blog {
    max-width: 49%;
    margin: 0 car;
    background-color: # 0073aa;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border: 0px solid # 000000;
    padding: .2rem;
    margin-bottom: .5rem;
    }

    • This reply was modified 6 years, 10 months ago by pacosilva. Reason: car x auto

    So it is not necessary to change the css in cad item
    / * Change the colors of social links * /
    .social-navigation .menu-item svg {
    / * color: #cbcbc8; it does gray * /
    color: #a80000;
    }

Viewing 2 replies - 1 through 2 (of 2 total)