Copy link to clipboard
Copied
When I use this:
<link href="../css/mediaQuery.css" rel="stylesheet" type="text/css">
I see the Visual media queries bar.
When i use this: (siteRoot() genrates the root)
<link href="<?php echo siteRoot()?>/css/mediaQuery.css" rel="stylesheet" type="text/css">
The css rules in the mediaQuery.css are applied but the Visual media queries bar is not shows. (I do press the button to show them)
Any reason why?
I also see the "mediaQuery.css" at the top of the panel as one of the open files and i can click it and see it's content.
Which would make sense because the actual Live View window uses the built in browser that's accessing your testing/remote server to show you a browser-like preview after it's parsed by the server.
I assume DW's interface functionality has no ability to access the server to obtain the correct code to add items within the GUI itself.
Copy link to clipboard
Copied
My guess would be because DW doesn't parse PHP code for interface items.
Basically, the Live View rendering engine isn't being used to create/populate those bars in the interface, so DW doesn't know what to do with the php in the link.
Copy link to clipboard
Copied
but it does respect the css in this file in live view
Copy link to clipboard
Copied
Which would make sense because the actual Live View window uses the built in browser that's accessing your testing/remote server to show you a browser-like preview after it's parsed by the server.
I assume DW's interface functionality has no ability to access the server to obtain the correct code to add items within the GUI itself.