Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Make Bootstrap not Writable again

Community Beginner ,
Oct 08, 2019 Oct 08, 2019

I mistakenly made bootstrap-4.3.1.css writable and I don't seem to find the way to lock it again. Any suggestions? I prefer for bootstrap to be not writable as I don't trust muself not to mess with it...

460
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 08, 2019 Oct 08, 2019

You have not stated your OS, I will therefore assume that it is Windows.

1. Open Windows Explorer and surf to the folder of your site

2. Right click the Bootstrap file and choose properties

clipboard_image_0.png

3. In the Properties window, tick the Read Only box

clipboard_image_1.png

 

Translate
Community Expert ,
Oct 08, 2019 Oct 08, 2019

Replace local scripts with read only scripts on a Content Distribution Network (CDN) like Stackpath.   https://www.bootstrapcdn.com/

 

In other words, replace this code:

<link href="css/bootstrap-4.3.1.css" rel="stylesheet">

 

with this code:

<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 08, 2019 Oct 08, 2019
Thank you. I'll try that.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 08, 2019 Oct 08, 2019

You have not stated your OS, I will therefore assume that it is Windows.

1. Open Windows Explorer and surf to the folder of your site

2. Right click the Bootstrap file and choose properties

clipboard_image_0.png

3. In the Properties window, tick the Read Only box

clipboard_image_1.png

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 08, 2019 Oct 08, 2019
Thank you for your reply. I am working on mac OSX 10.13 and Dreamweaver CC 2019
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 08, 2019 Oct 08, 2019
LATEST
Tank you. I'm on a Mac but I followed a similar approach and it worked!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines