Drupal Theming and CSS Frameworks

Please Note: All posts made on this section of the forum will also be sent a mailing list. Before posting ensure that this is the appropriate forum.

Tags

Hi

I would like to get peopls views regarding this.

What is the best way to approach a new drupal theme for a site. The 3 options are:

  1. Custom theme and CSS from the ground up
  2. Using CSS Frameworks  (Blueprint, 960gs, etc)
  3. Using Drupal base themes like (Zen, Fusion, Adaptive Theme, Genesis, etc)

I have used the different methods and have recently begun playing with Drupal base themes but have also noticed that these often have a lot of files and code that I would never use for some projects. For example in fusion I have to add a lot of extra CSS code just to override the existing CSS in the base.

What has been everyone elses experience and recommended approach.

Would be nice to get a discussion going regarding this.

Cheers

Re: Drupal Theming and CSS Frameworks

Hi All

Appologies for all the emails didn't realise that adding this post to the forum would send all the emails.

If someone has the access please remove this topic, I don't have access to delete.

Appologies again.

Drupal Theming and CSS Frameworks

Hi

I would recommend building a theme from the ground up (or rather basing a theme on one you've built from the ground up)

There are several reasons for this:

* You have absolute control over your styles and there is no superfluous code, files and styles to override (in addition to core, which already adds a lot to worry about).
* You have a better understanding of your theme and how it works. If something breaks you don't have to launch a painful and protracted debugging session. (Remember the Cascading in CSS applies to bugs and wierdness too!)
* You have no licensing restrictions, issues or required files to ship with your theme.
* Your code can be semantic and comply with w3c standards and recommendations.
* Pride in what you do.

Using frameworks may save you initial dev time, however it is frowned upon to use content related classnames. Think of evil crap like
There are many valid reasons to keep content (markup) and presentation (CSS) separate that I will not go into (Google can enlighten you). Think of maintenance, changes and upgrading.

scheepers

On 15 Feb 2010, at 8:56 AM, robin [dot] prieschl [at] gmail [dot] com wrote:

Drupal Theming and CSS Frameworks

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">





See what I mean?



Scheepers de Bruin wrote:

56C9D49C-3CB7-4280-81B8-AF4D533EC9E9 [at] gmail [dot] com"
type="cite">
Hi

I would recommend building a theme from the ground up (or rather basing a theme on one you've built from the ground up)

There are several reasons for this:

* You have absolute control over your styles and there is no superfluous code, files and styles to override (in addition to core, which already adds a lot to worry about).
* You have a better understanding of your theme and how it works. If something breaks you don't have to launch a painful and protracted debugging session. (Remember the Cascading in CSS applies to bugs and wierdness too!)
* You have no licensing restrictions, issues or required files to ship with your theme.
* Your code can be semantic and comply with w3c standards and recommendations.
* Pride in what you do.

Using frameworks may save you initial dev time, however it is frowned upon to use content related classnames. Think of evil crap like <span class="red-polkadots floating-left width-500px cols-15">
There are many valid reasons to keep content (markup) and presentation (CSS) separate that I will not go into (Google can enlighten you). Think of maintenance, changes and upgrading.

scheepers


On 15 Feb 2010, at 8:56 AM, robin [dot] prieschl [at] gmail [dot] com wrote:

  
Hi

I would like to get peopls views regarding this.

What is the best way to approach a new drupal theme for a site. The 3 options
are:

1) Custom theme and CSS from the ground up
2) Using CSS Frameworks  (Blueprint, 960gs, etc)
3) Using Drupal base themes like (Zen, Fusion, Adaptive Theme, Genesis, etc)

I have used the different methods and have recently begun playing with Drupal
base themes but have also noticed that these often have a lot of files and
code that I would never use for some projects. For example in fusion I have
to add a lot of extra CSS code just to override the existing CSS in the base.

What has been everyone elses experience and recommended approach.

Would be nice to get a discussion going regarding this.

Cheers



Drupal Theming and CSS Frameworks


PLEASE TAKE THIS TO THE FORUM!!!!!!!!!!!!!!!




From: Adrian Kirsten <adriank [at] junkmail [dot] co [dot] za>
To: drupal-jhb [at] lists [dot] drupal [dot] co [dot] za
Sent: Mon, February 15, 2010 1:48:14 PM
Subject: Re: [Drupal-JHB] Drupal Theming and CSS Frameworks

See what I mean?



Scheepers de Bruin wrote:

Hi

I would recommend building a theme from the ground up (or rather basing a theme on one you've built from the ground up)

There are several reasons for this:

* You have absolute control over your styles and there is no superfluous code, files and styles to override (in addition to core, which already adds a lot to worry about).
* You have a better understanding of your theme and how it works. If something breaks you don't have to launch a painful and protracted debugging session. (Remember the Cascading in CSS applies to bugs and wierdness too!)
* You have no licensing restrictions, issues or required files to ship with your theme.
* Your code can be semantic and comply with w3c standards and recommendations.
* Pride in what you do.

Using frameworks may save you initial dev time, however it is frowned upon to use content related classnames. Think of evil crap like <span class="red-polkadots floating-left width-500px cols-15">
There are many valid reasons to keep content (markup) and presentation (CSS) separate that I will not go into (Google can enlighten you). Think of maintenance, changes and upgrading.

scheepers


On 15 Feb 2010, at 8:56 AM, robin [dot] prieschl [at] gmail [dot] com" target="_blank" href="mailto:robin [dot] prieschl [at] gmail [dot] com">robin [dot] prieschl [at] gmail [dot] com wrote:

  
Hi

I would like to get peopls views regarding this.

What is the best way to approach a new drupal theme for a site. The 3 options
are:

1) Custom theme and CSS from the ground up
2) Using CSS Frameworks  (Blueprint, 960gs, etc)
3) Using Drupal base themes like (Zen, Fusion, Adaptive Theme, Genesis, etc)

I have used the different methods and have recently begun playing with Drupal
base themes but have also noticed that these often have a lot of files and
code that I would never use for some projects. For example in fusion I have
to add a lot of extra CSS code just to override the existing CSS in the base.

What has been everyone elses experience and recommended approach.

Would be nice to get a discussion going regarding this.

Cheers



Drupal Theming and CSS Frameworks

On 15 Feb 2010, at 1:48 PM, Adrian Kirsten wrote:

> See what I mean?

Don't make me go militant on your ass, rookie. Remember, I can make you blush... about 9.9Mbs worth.

Drupal Theming and CSS Frameworks

Hi

It might be better to post technical discussions on the international forum of Drupal.org. This way we do not dilute the strength of the existing forum.

We all have a lot of incoming mail and it would be better to limit this to events that are relevant to our own local Drupal community.

Cheers
Helmke

-----Original Message-----
From: drupal-jhb-bounces [at] lists [dot] drupal [dot] co [dot] za [mailto:drupal-jhb-bounces [at] lists [dot] drupal [dot] co [dot] za] On Behalf Of robin [dot] prieschl [at] gmail [dot] com
Sent: 15 February 2010 08:57 AM
To: drupal-jhb [at] lists [dot] drupal [dot] co [dot] za
Subject: [Drupal-JHB] Drupal Theming and CSS Frameworks

Hi

I would like to get peopls views regarding this.

What is the best way to approach a new drupal theme for a site. The 3 options
are:

1) Custom theme and CSS from the ground up
2) Using CSS Frameworks (Blueprint, 960gs, etc)
3) Using Drupal base themes like (Zen, Fusion, Adaptive Theme, Genesis, etc)

I have used the different methods and have recently begun playing with Drupal
base themes but have also noticed that these often have a lot of files and
code that I would never use for some projects. For example in fusion I have
to add a lot of extra CSS code just to override the existing CSS in the base.

What has been everyone elses experience and recommended approach.

Would be nice to get a discussion going regarding this.

Cheers

Drupal Theming and CSS Frameworks

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">





Hey Robin,



I personally enjoy the Blueprint css framework for my themes. I also
sometimes use the blueprint css base theme.



But, i think the answer really lies in how you personally like to do
things. I know that while I enjoy blueprint, "certain people" *Glares
at scheepers* hates it, and prefers to do their stuff in another way.
My suggestion is play around and experiment until you have found a path
that you really enjoy, find effective to use and helps you to get your
design brilliance from concept to theme!



Hope this helps you a bit.



robin [dot] prieschl [at] gmail [dot] com wrote:

cite="mid:listhandler=3&site=drupal.co.za&nid=220&pid=0&cid=&uid=441&tid=&ec8ce6abb3e952a85b8551ba726a1227 [at] drupal [dot] co [dot] za"
type="cite">

Hi




I would like to get peopls views regarding this.




What is the best way to approach a new drupal theme for a site. The 3
options


are:




 1) Custom theme and CSS from the ground up


 2) Using CSS Frameworks  (Blueprint, 960gs, etc)


 3) Using Drupal base themes like (Zen, Fusion, Adaptive Theme,
Genesis, etc)




I have used the different methods and have recently begun playing with
Drupal


base themes but have also noticed that these often have a lot of files
and


code that I would never use for some projects. For example in fusion I
have


to add a lot of extra CSS code just to override the existing CSS in the
base.




What has been everyone elses experience and recommended approach.




Would be nice to get a discussion going regarding this.




Cheers







Built using Drupal. South African Web Design and Hosting by eConsultant.