Skip to main content
Known Participant
June 11, 2022
Question

Dreamweaver CSS designer

  • June 11, 2022
  • 2 replies
  • 301 views

Hello.  I am able to write my own css now but sometimes I like to use the CSS Designer.  Used it for years.  Now when I choose my source - styles.css - and then click the plus sign to create a selector I try typing in my own selector name for instance .something, hit enter and it disappears from the designer so I am unable to use the properties panel to style the selector.  It does create .something in the styles.css file though.  I am just wanting to know why it doesn't work anymore. Could it

 

I'm thinking that it might be because of bootstrap although I created a page in plain html to test that theory and the selector still disappears from the designer.  Any ideas why it doesn't work?

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    June 11, 2022

    I would prefer to see everyone edit CSS source code manually.  You have more control over modern properties & values that panels do not support.  Also coding manually with code hints & auto-code completion is 100% faster than panels.

     

    That said, you must be very, very careful not to allow the CSS design panel to default on Bootstrap CSS file.  Editing Bootstrap this way could be a disaster for you and your site. 

     

    See screenshot.  In this example, I'm using an embedded stylesheet for custom CSS code.  But the same applies whether your CSS source is external or embedded.

     

    Hope that helps.

     

    Nancy O'Shea— Product User & Community Expert
    beng2000Author
    Known Participant
    June 12, 2022

    Thank you.

    Nancy OShea
    Community Expert
    Community Expert
    June 11, 2022

    DO NOT touch CSS inside Bootstrap CSS file.

    Use a separate stylesheet for custom code, i.e. custom.css or myStyles.css

    Validate your custom CSS and fix reported errors.

    https://jigsaw.w3.org/css-validator/

     

    Nancy O'Shea— Product User & Community Expert