Teknik & Vetenskap

Creating the veryColorful Theme

Starting from the _s template generated at underscores.me (using the name pinkIt) I made the following modifications to get the theme the way I wanted it:

functions.php:

  • Added support for a 2nd sidebar
  • Added support for all available post-types

header.php:

  • Removed the navigation bar

sidebar.php:

  • Added the dynamic navigation bar as the first module on the left sidebar (before the dynamic widget area)
  • Added the 2nd sidebar (#tertiary)

style.css:

  • Added a background image in the body section
  • Added layout styling for sidebar-content-sidebar copied from the layouts folder (included with the generated theme)
  • Changed the font color to white
  • Changed a:visited to cyan

 

Kommentera inlägget :)