Skip to main content
digidandan
Known Participant
Oct 11, 2017 2:05 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    BenPleysier
    Community Expert
    Community Expert
    Oct 11, 2017 3:02 AM UTC

    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.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    digidandan
    Known Participant
    Oct 11, 2017 3:35 AM UTC

    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.

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Oct 11, 2017 7:05 PM UTC

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

    Translate
    Nancy O'Shea— Product User & Community Expert