Skip to main content
digidandan
Known Participant
October 11, 2017
Question

Fast way to get to my rules in my css file?

  • October 11, 2017
  • 1 reply
  • 407 views

I am working in split view using code (using the .css file) and live. When I select something in my live view, it shows me the .class file that is applied to it in the live view window. I want to change a few things with that rule. I click the .class in the little upper-left box within the div (live view), then it shows in my CSS Designer, not in my CSS file on the left. If I right click on it in the CSS Designer, then I can go to the exact spot in my .css file, where I can edit it. Is there a better and faster way? Suppose I want to see the and work in the actual css code file, selecting from live view and not the CSS Designer?

Otherwise, since I know the rule I want to edit by seeing the name in the live view window, I want to find that exact .class rule in the css file that is also open. Is there a way to quickly search or find it.  Now I find I am scrolling constantly looking for the .class in a very long file.

Thanks

    This topic has been closed for replies.

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    October 11, 2017

    In Code view, select the class/id and hit CTRL+e

    See [1 / 12] Dreamweaver CC 2017 Tips & Tricks - Quick Edit - YouTube at the 40s mark.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    digidandan
    Known Participant
    October 11, 2017

    It appears as if I can right-click on the live view selector and it will go to my code, the issue is sometimes I still have to scroll up or down in the code file a bit to find it. Might be the way I have the code "view" set up. Was kind of expecting it to be in the middle or top. But I guess it does kind of work as it is supposed to.

    Nancy OShea
    Community Expert
    Community Expert
    October 11, 2017

    Another option, open your CSS document in code view.  Use Ctrl+F to Find in Current Document. 

    Nancy O'Shea— Product User & Community Expert