Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1341882

    Hi,
    i pasted a lot of css in the quick css field.
    It is beginning to confuse me.
    Can i add a description for each code snippet which i put there before the code, which is not effecting the snippet itself, but for me, to know what it is to be for?

    How can i do that?

    kind regards Jak

    #1341921

    Hey Jak73,

    Thank you for the inquiry.

    You can add a comment before the css rules. Please check this documentation for more info.

    // https://www.w3schools.com/css/css_comments.asp

    Example of a css comment.

    /* This is a single-line comment */
    p {
      color: red;
    }
    

    Best regards,
    Ismael

    #1341958

    Hi Ismael,

    this i great! Thanks for your help!

    Should i take out the added quick css and put it into the template.css file, when i’m done with creating my website or should i leave it there?

    kind regards Jak

    #1341988

    Hi Jak,

    If template.css file is in the child theme then it should be safe to put it in there.
    If not, then just leave it in Quick CSS.

    Best regards,
    Nikko

    #1342618

    Ok, thanks a lot!
    Will the template.css be better for loading faster? Is it same, no difference if it is in quick css or in template.css?
    Kind regards Jak

    • This reply was modified 2 years, 8 months ago by Jak73.
    #1342631

    Hi Jak,

    You’re welcome :)
    There’s no speed difference since the code would only weigh in few bytes.

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.