Drupal8 W3CSS Theme

Drupal8 W3CSS Theme is using the W3.CSS framework with built-in responsiveness: Smaller and faster than other CSS frameworks. - Easier to learn, and easier to use than other CSS frameworks. - Uses standard CSS only (No jQuery or JavaScript library). - Speeds up and simplifies web development. - Supports modern responsive design (mobile first) by default. - Provides CSS equality for all browsers. Chrome, Firefox, IE, Safari, and more. - Provides CSS equality for all devices. PC, laptop, tablet, and mobile. - Learn more about W3.CSS https://www.w3schools.com/w3css/

Drupal8 W3CSS Theme Documentation

  • How to install drupal8 w3css theme

Download the theme to your-drupal-site-name/themes/ and go to your-site-domain/admin/appearance and scroll to the bottom until you see Drupal8 W3CSS Theme and click on Install and set as default and click save.

  • How to change the logo

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and uncheck “Use the logo supplied by the theme” then upload your own website logo and click save.
 

Change the logoChange the logo
  • How to enable page title

Go to your-drupal-site-name/admin/structure/block and scroll down until you see Page Title's region. Page Title block is disabled by default, just click on Enable to enable the page title.
 

Enable Page title
  •  How to enable site slogan

Go to your-drupal-site-name/admin/structure/block and in header region. You should see two blocks User account menu and Site branding. Click on configure for Site branding and check the check box for Site Slogan.
 

Enable Site Slogan
  • How to change the favicon

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and uncheck “Use the favicon supplied by the theme” then upload your own favicon and click save.
 

Change FaviconChange Favicon
  • How to change website width

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on Website Width to expand it. Copy and paste your desired website width and click save.
 

Change the website width
  • How to use the w3css predefined themes

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on  w3css predefined themes to expand it.  Copy and paste any of your desired w3css color theme and click save.
 

Upload a predefined theme
  • How to change website colors

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on Advanced Site Colors to expand it.  Each section in the website can be modified and click save.  You can change the text color, background color, padding, margin or borders.  You can use any of W3 CSS Classes https://www.w3schools.com/w3css/w3css_references.asp
 

Change website Colors
  • How to change Social Media Links

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on Social Media Link to expand it.  Change any of the links and click save.
 

Social Icons
  • How to change copyright

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on Copyright to expand it, then change the text there and click save.
 

Copyright
  • How to disable the credit at the bottom

Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on Credit to expand it.  Uncheck the Show/Hide Credit Text and click save.

Credit


 

  • How to create a new custom predefined color theme

1- Go to https://www.w3schools.com/w3css/w3css_color_themes.asp and create your custom theme.  Follow the steps to create a private theme.
2- After you finish go to your-drupal-site-directory/themes/drupal8_w3css_theme/css/w3-css-theme-custom/w3-theme-custom.css Open w3-theme-custom.css and delete the old code then paste the new code for your private theme.
3- Go to your-drupal-site-name/admin/appearance/settings/drupal8_w3css_theme and click on W3css Predefined Theme and enter w3-theme-custom.

  • How to install drupal8 w3css subtheme

Install Drupal8 W3CSS Theme First, then install drupal8 w3css subtheme.

  • How to use the drupal8_w3css_subtheme

Inside the folder your-drupal-site-directory/themes/drupal8_w3css_theme/drupal8_w3css_subtheme you will have all the necessary files for start up theme.

Drupal8 W3CSS Theme - Font & Text Classes

It’s sometimes difficult to keep track of all the values that you are using in your design. It’s unlikely that CSS will ever include constants, so it will help to keep notes in an easy-to-reference location in your document.

Drupal8 W3CSS Theme - Colors

The interpretation by the browser’s rendering engine is where your headaches begin. The W3C has gone to great lengths to create specifications by which browser developers should render the Web code.

Drupal8 W3CSS Theme - Font-Size Classes

What Is a Markup Language? HTML is used to mark up the structure of Web pages, but other markup languages are used by computers on the Web and beyond. The Standard Generalized Markup Language (SGML) is the grandfather of most markup languages used for print and the Internet.

Drupal8 W3CSS Theme - US Safety Colors

CSS level 2 (CSS2) The CSS2 spec came out in 1998 and is the most widely adopted by browser makers. Level 2 includes all the attributes of the previous two versions, plus an increased emphasis on international accessibility and the capability to specify media specific CSS.

Drupal8 W3CSS Theme - Layout Classes

1. Add content to your HTML file. Using the HTML file you created in chapter 2, add text and image content. I tend to use Alice’s Adventures in Wonderland, but anything will do. A great source for text is Project Guttenberg (www.gutenberg. org). 2. Markup your content.