This is the website folder layout:
- index.html <- html containing the whole site with navbar, image carousel and text content
- assets <- folder with images, favicons, less and js
- favicons <- website icons for different devices
- images <- folder containing all images
- js <- javascript to initialize tooltip and drop menu
- less <- not used
- dist <- containing processed css/js
- css <-- minified css
- bootstrap.min.css <- bootswatch theme
- theme.css <- style customization
- css <-- minified css
=> Edit the file index.html
The file index.html contains the whole one page website.
The web site text content starts at the line containing the comment:
<!-- content section : ... -->Choose a given section.
<div class="row section container-fluid">
<div class="col-xs-12">
...
write text here
...
</div>
</div>Inside this section, you can write some HTML code. However, since this site is built over Bootstrap, you can also use predefined Bootstrap typography styles.
Each section is enclosed within two div tags with classes row and col-xs-12. If you want to add a section, keep these two div to get a responsive bootstrap grid layout!
You might also edit the navbar to add a entry corresponding to the added section. Go to the following line containing the comment:
<!-- content section : ... -->Add a list item entry (tag li) with the label entry_label referring to the section identified by my_section_anchor
<li><a href="#_my_section_anchor_">entry_label</a></li>Do not forget to identify the added section (my_section_anchor):
<div id="_my_section_anchor_" class="row section container-fluid">
<div class="col-xs-12">
My section content
...
</div>
</div>=> edit the file index.html
-
add images in
assets/imagesfolder -
add carousel indicators (see
litags within in the classcarousel-indicators)
Increment the number increment_number (here, it should be equal to 4)
...
<ol class="carousel-indicators">
...
<li data-target="#myCarousel" data-slide-to="3"></li>
<li data-target="#myCarousel" data-slide-to="_increment_number_"></li>
</ol>- add slide containing image (see
divtags within the div of classcarousel-inner).
<div class="item">
<img src="./assets/images/_my_image_filename._" alt="Carte" class="img-rounded img-responsive center-block">
</div>- The carousel caption (class
carousel-caption) is optional.
<div class="item">
<img ...>
<div class="carousel-caption">
<h4>_caption_title_</h4>
<small>_caption_text_</small>
</div>
</div>=> edit the file dist/css/theme.css
The theme is mainly defined by bootstrap.min.css.
You can override some settings by editing the cascading style sheet theme.css.