Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do we simply copy the code below (taken for GH) and replace it on the section (below- see screenshot)? Add it to the end? Modify it?

    Please advise.

    /*
    Default CSS Styles for the Category Posts Widget plugin
    Version: 4.1.7
    */

    /*————————————————————–
    >>> TABLE OF CONTENTS:
    —————————————————————-
    1.0 Normalise
    2.0 General
    3.0 CSS cropping
    4.0 Thumbnail hover effects
    ————————————————————–*/

    /*————————————————————–
    1.0 Normalise
    ————————————————————–*/
    .cat-post-item span.cat-post-css-cropping img {
    max-width: initial;
    max-height: initial;
    }
    /*————————————————————–
    2.0 General
    ————————————————————–*/
    .cat-post-title {
    font-size: 15px;
    font-size: 0.9375rem;
    }
    .cat-post-current .cat-post-title {
    font-weight: bold;
    text-transform: uppercase;
    }
    .cat-post-date,
    .cat-post-comment-num {
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 18px;
    line-height: 1.125rem;
    margin-bottom: 0;
    }
    .cat-post-date {
    font-style: italic;
    }
    .cat-post-author {
    margin-bottom: 0;
    }
    .cat-post-thumbnail {
    display: block;
    }
    .cat-post-thumbnail img {
    margin: 5px 10px 5px 0;
    float: left;
    }
    .cat-post-item {
    border-bottom: 1px solid #ccc;
    list-style: none;
    list-style-type: none;
    margin: 3px 0;
    padding: 3px 0;
    }
    .cat-post-item:before,
    .cat-post-item:after {
    content: “”;
    display: table;
    clear: both;
    }
    .cat-post-item:last-child {
    border-bottom: none;
    }
    /*————————————————————–
    3.0 CSS cropping
    ————————————————————–*/
    .cat-post-item .cat-post-css-cropping span {
    float: left;
    margin: 5px 10px 5px 0;
    }
    /*————————————————————–
    4.0 Thumbnail hover effects
    ————————————————————–*/
    /* For White, Dark, Scale */
    li a.cat-post-white,
    li a.cat-post-dark,
    li a.cat-post-scale {
    background-color: black;
    display: inline-block;
    float: left;
    margin: 5px 10px 5px 0;
    }
    li.cat-post-item a.cat-post-white span,
    li.cat-post-item a.cat-post-dark span,
    li.cat-post-item a.cat-post-scale span{
    margin: 0;
    }
    li a.cat-post-white img,
    li a.cat-post-dark img,
    li a.cat-post-scale img {
    margin: 0;
    padding-bottom: 0 !important;
    }
    li a.cat-post-white img:hover,
    li a.cat-post-dark img:hover {
    opacity: 0.8;
    }
    /* Only for White */
    li a.cat-post-white {
    background-color: white;
    }
    /* Only for Dark */
    li a.cat-post-dark {
    background-color: black;
    }
    /* Only for Scale */
    li a.cat-post-scale {
    overflow: hidden;
    }
    li a.cat-post-scale.cat-post-css-cropping span {
    margin: 0;
    overflow: initial;
    }
    li a.cat-post-scale img {
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    -o-transition: all 400ms;
    transition: all 400ms;
    }
    li a.cat-post-scale img:hover {
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
    }

    I am getting a “Warning: Division by Zero” error since I updated a plugin yesterday. Anyway to disable this update so I don’t get this error anymore?

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