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

Make Bootstrap not Writable again

Community Beginner ,
Oct 08, 2019 Oct 08, 2019

Copy link to clipboard

Copied

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...

Views

276

Translate

Translate

Report

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

 

Votes

Translate

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

Copy link to clipboard

Copied

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
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thank you. I'll try that.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thank you for your reply. I am working on mac OSX 10.13 and Dreamweaver CC 2019

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST
Tank you. I'm on a Mac but I followed a similar approach and it worked!

Votes

Translate

Translate

Report

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