Copy link to clipboard
Copied
How can I hide the annoying privacy settings block in live view? Thank you for your help.
[Preformatting removed by moderator.]
This has nothing to do with Dreamweaver. What you see is coming from scripts in your document.
Switch from Live to Design View (Ctrl + Shift + F11).
Or disable scripts in your code.
Switching to Design View will disable scripts while adding content. Your site won't necessarily look exactly how it does in Live View, but you should be able to work without being blocked by the privacy statement.
Copy link to clipboard
Copied
No idea what you mean by privacy settings block. 😕 Please show us your code or a screenshot of what you mean, excluding any sensitive information of course.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
could you make a screenshot so that we can better understand what you are talking about exactly, what is bothering you?
Copy link to clipboard
Copied
Hi Nancy, Hy Lena,
exactly, its a cookie banner, what I don*t want to see while programming the site
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This has nothing to do with Dreamweaver. What you see is coming from scripts in your document.
Switch from Live to Design View (Ctrl + Shift + F11).
Or disable scripts in your code.
Copy link to clipboard
Copied
many thanks
Copy link to clipboard
Copied
In the past, DW had a feature that could have met your current needs, unfortunately it has been removed much to the chagrin of the community.
In fact, what you need is a CSS sheet that is only active during development usualy called 'Design-Time CSS sheet'.
You can however reproduce a workaround that allows you to hide the desired areas only during development.
You can as @Nancy OShea recommends deactivate javascript, but this can harm some phases of your development.
I don't know how you develop and what are your habits, or the technos you use... so perhaps what follow can be beside a real usefulness. Anyway let's give it a try :
I would say that the simplest and least elegant way would be to create a specific CSS style sheet for your cookies management.
#container_for_cookies_banner {
display:none;
}
4. Now, it is very important to hide this file from the file palette by right-clicking on the file and choosing cloacked. This file will not be put online when your site will be synchronized
So, as a result, the cookies.css placed online will handle the cookie's information banner in a correct way and the local cookies.css will allow you to hide the tab that is bothering you locally.
I hope I haven't been too confusing in this explanation.
Copy link to clipboard
Copied
sounds very good. Many thanks, will try
Copy link to clipboard
Copied
Switching to Design View will disable scripts while adding content. Your site won't necessarily look exactly how it does in Live View, but you should be able to work without being blocked by the privacy statement.
Copy link to clipboard
Copied
simpliest way, thanks
Copy link to clipboard
Copied
Without more information, I'm wondering if what you're seeing is actually generated by your computer's operating system or anti-virus & firewall software.
Copy link to clipboard
Copied
Based on your previous question from September, you're using a Cookie Banner on your site. Is that what you're seeing in Dreamweaver? Or is this question unrelated to that JavaScript?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now