function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ram Shiva KumarRam Shiva Kumar 

BOOT STRAP Implementation

Hi ,

Iam completely new to implemnt the boot starp .Actually i have created the static resource by uploading the bootstrap in zip formate. Please suggest me how to use the  CSS classes of  of the bootstrap in VF pgae.  And the ZIP file name is  sfdcboot. 

Regards,
Siva  Reddy.
 
Best Answer chosen by Ram Shiva Kumar
Virendra ChouhanVirendra Chouhan
Hi Siva,

You can use below code to include static resource file:
<!-- If you zip folder has subfolder for css -->
<link href="{!$Resource.sfdcboot}/css/bootstrap.min.css" rel="stylesheet"/>

<!-- If file present in root folder -->
<link href="{!$Resource.sfdcboot}/bootstrap.min.css" rel="stylesheet"/>

 

All Answers

Virendra ChouhanVirendra Chouhan
Hi Siva,

You can use below code to include static resource file:
<!-- If you zip folder has subfolder for css -->
<link href="{!$Resource.sfdcboot}/css/bootstrap.min.css" rel="stylesheet"/>

<!-- If file present in root folder -->
<link href="{!$Resource.sfdcboot}/bootstrap.min.css" rel="stylesheet"/>

 
This was selected as the best answer
Ram Shiva KumarRam Shiva Kumar
Hi  Virendra Thanks  alot it is working for me.

 Regards,
Siva.