Sign in

Tips, Info, Success or Warning messages Not working

  • This topic has 3 replies, 2 voices, and was last updated 11 months, 2 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #687
    #688
    Bob
    Support

    Hi Ajeet,

    I suppose that your theme does not include relevant CSS rules. The following set (.scss) comes from the Simple theme.
    `
    // Required by WYSIWYG editor
    .align-left {
    text-align: left;
    }

    .align-right {
    text-align: right;
    }

    .align-center {
    text-align: center;
    }

    .align-justify {
    text-align: justify;
    }

    .msg {
    padding: baseline(4) baseline(8);

    &–highlight {
    background-color: #FFFCF1;
    }

    &–info {
    background: #F2F9FF;
    }

    &–success {
    background: #F7FBF6;
    }

    &–warning {
    background: #FFF3F3;
    color: #A94442;
    }
    }

    .ordered-list {
    counter-reset: listCounter;

    li {
    counter-increment: listCounter;
    list-style: none;
    padding-left: baseline(1);
    position: relative;

    &::before {
    color: $color;
    content: counter(listCounter, decimal-leading-zero) ‘.’;
    font-weight: $font-weight-bold;
    left: -2rem;
    position: absolute;
    }
    }
    }

    .dropcap {
    &:first-letter {
    color: $color-headings;
    float: left;
    font-size: ms(20);
    line-height: 0.7;
    margin-right: baseline(2);
    padding: baseline(2) baseline(2) baseline(2) 0;
    }
    }
    `

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #689
    ajeet

    Thanks Bob,

    Which file should I put this code in ?

    #765
    ajeet

    .

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Tips, Info, Success or Warning messages Not working’ is closed to new replies.