This forum is for assistance with theme development.

CSS Theme Standards

I only started using CSS based layout when I started using drupal. After a few tutorials I new basically how things worked, but when it come to learning and modifying drupal themes I found things a little more difficult. Every theme’s css file is laid out differently and things are grouped differently.

I think it would be good idea to set a standard for the layout and grouping of CSS in style sheets files using comments.

I have tried multiple themes and every time I try to modify a theme I have to learn how that Theme Developer layout and grouped elements in that theme and it is completely different form theme to theme. How one person thinks things should be logically grouped is not at all logical for another user.

What I propose is a basic layout of drupal theme css files. IE. All HTML elements at the top, followed by, all page layout elements group together and then all CSS relating to comments ….. And at the end theme specific CSS. (Just a example)

I think this could promote Theme development. This way a person only needs to learn one structure. And will know more or lees how things are laid out for any theme, making modifying exiting themes much easier. And maybe reduce the drupal learning curve for new comers and CSS novices.

And in the download area. The theme description should specify if it conforms to the standard just like some of the themes specify that it is a PHPTemplate theme.

using php code from xTemplates

I want to run a small script to add some dynamic content to my template (based on xTemplate). How can I do this? Any direct usage of php will not be parsed, since the file is xtemplate.xtmpl.
I would really apreciate some help, any gurus out there?

Adding new images to an existing template

Hi everybody!

I'm a new user of drupal's engine, so i have initial issues to resolve.

I am using xtemplates mode to develop a new theme. I have decided to modify
the existing "pushbutton" theme.

My trouble comes when i try to insert a new image created by myself in the top
header of my site.

Drupal doesn't visualize the image...

My new image's name is "myphoto.jpg". If i try to access it via browser... I mean,
if i place in the direction bar explicitly "(mysite).../myphoto.jpg" I obtain the next error message:

help! =) (with themes, customizing stuff, categories, news posting... -- ok, pretty much everything)

hi.

i'm extremely new to this whole php-cms thing. i did my blog with wordpress [http://acidph.net/pepster], and that was really easy -- i was able to transfer the whole look from the Greymatter CGI i used to the php theme system of Wordpress.

now, i'm trying to do this site on Drupal [http://acidph.net/mymov]. it's a deviantart-like site, but for digital movies. (ambitious? very.)

Swapping Read More and Comments Links

Hi all

On my site here - www.maxps3.com (using the Pushbutton theme) I want to move the "read more" link to the left of the "post comments" link, and would like to increase the link font size and make it bold.

I can't see any option to do this in style.css or the template file. Can anyone help me out please?

Cheers, Matt.

Changing Background of box_grey

I know box_grey is supposed to be the easiest phptemplate theme to modify, but for the life of me I can't figure out what in style.css controls the background color of the header, sidebars and footer; is it #header, #footer? Thanks.

Ed

Pages

Subscribe with RSS Subscribe to RSS - Theme development