Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1376763
    Sandie
    Participant

    Hi,

    I wonder if you could tell me how to make my CSS code to look nicer and for it to be easier to find what CSS code belongs to which “object” on my site.

    Right now it’s all a mess, and I want to be able to know which CCS code belongs to which “object”. So if there is a way to add something before each CSS code so I know that for example that section belongs to the Contact Form, and that CSS code belongs to the page xxx, and so on.

    Would be very helpful.

    My URL: https://youpheal.com

    Thanks!

    Best Regards
    /Sandra

    #1376866
    Christopher
    Moderator

    Hi there,

    You can add descriptive comment above each CSS block.

    e.g :

    /* contact form 7 style */
    
    .page-id-28 input[type="text"] {
      height: 3em;
      font-size: 18px;
    }

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-1376763 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>