Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
services:pvw:css [2015/03/14 16:06]
r2d2 [Bootstrap Based]
services:pvw:css [2015/03/14 16:18]
r2d2
Line 27: Line 27:
 </​code>​ </​code>​
  
-If you are happy with an external theme, we strongly suggest you to NEVER rely on a call from an external server (except a well established [[wp>cdn|CDN]]) because in the case it fails to respond, your site will load slowly and be ugly without this css. You would rather copy the css (and all its dependencies) to a subfolder of your css directory, ie like that:+If you are happy with an external theme, we strongly suggest you to NEVER rely on a call from an external server (except a well established [[wp>Content_delivery_network|CDN]]) because in the case it fails to respond, your site will load slowly and be ugly without this css. You would rather copy the css (and all its dependencies) to a subfolder of your css directory, ie like that:
 <code css> <code css>
 /* Import superhero BootStrap Theme from a LOCAL superhero_theme sub-directory */ /* Import superhero BootStrap Theme from a LOCAL superhero_theme sub-directory */
Line 33: Line 33:
 </​code>​ </​code>​
  
 +===== Adding your own styles =====
 +The //​custom.css//​ file can be filled to ovveride any Style defined either by the Bootstrap CSS, either from our own Default stylesheet. ​
 +
 +We tried to use mostly Bootstrap block, butons, etc. to comply with any Bootstrap theme. In some case, we also had to add some custom DIV for cases not well covered by Bootstrap.
 +
 +We've made our best to make each DOM element easely accessible, by using various classes and id, each prefixed by //pvw// and clearly named. We'he also tagged the body tag with a pvwBody_XXX id that is unique to each page, allowing you to access each page styles individually.
 +
 +If you ever miss a css declaration to access a specific DOM element, please feel free to contact us, to suggest some new clss definitions.
 +
 +
 +
 +
 +{{indexmenu_n>​50}}