Highlighted

Can I remove un-used classes from pop-up menu?

Explorer ,
Oct 29, 2017

Copy link to clipboard

Copied

I'm making a new Bootstrap-based web site from a DW template. The Bootstrap code has a huge number of classes, most of which I'm not using. However, the pop-up menu in the "properties" window displays them all, and it won't scroll (I have to click on the down-arrow to get to the next one, and it only goes one class at a time), making it a really time-consuming process just to apply a class to a bit of text. Is there a way to configure that pop-up menu to display only the classes that are actually used in the site?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

Yes & no.

If you use a custom Bootstrap build with only those classes & components you're certain you will need, then you can significantly reduce the amount of code bloat in your Bootstrap based website.

http://getbootstrap.com/docs/3.3/customize/

I caution you, removing classes means you can't use them later if you decide to unless you revert to the full build.

Views

119

Likes

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

Can I remove un-used classes from pop-up menu?

Explorer ,
Oct 29, 2017

Copy link to clipboard

Copied

I'm making a new Bootstrap-based web site from a DW template. The Bootstrap code has a huge number of classes, most of which I'm not using. However, the pop-up menu in the "properties" window displays them all, and it won't scroll (I have to click on the down-arrow to get to the next one, and it only goes one class at a time), making it a really time-consuming process just to apply a class to a bit of text. Is there a way to configure that pop-up menu to display only the classes that are actually used in the site?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

Yes & no.

If you use a custom Bootstrap build with only those classes & components you're certain you will need, then you can significantly reduce the amount of code bloat in your Bootstrap based website.

http://getbootstrap.com/docs/3.3/customize/

I caution you, removing classes means you can't use them later if you decide to unless you revert to the full build.

Views

120

Likes

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
Oct 29, 2017 0
Adobe Community Professional ,
Oct 29, 2017

Copy link to clipboard

Copied

Yes & no.

If you use a custom Bootstrap build with only those classes & components you're certain you will need, then you can significantly reduce the amount of code bloat in your Bootstrap based website.

http://getbootstrap.com/docs/3.3/customize/

I caution you, removing classes means you can't use them later if you decide to unless you revert to the full build.

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

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
Reply
Loading...
Oct 29, 2017 0