This forum is for assistance with theme development.

How to: change main-title on user blog page

Hi all,

on the first page of a user's blog, I would like to style the blog title (i.e. "Snoopy's blog") differently from all other page titles and keep the titles of the blog postings in the same style as all other page titles. I'm modding a theme based on Friends Electric.

The CSS is no problem per se, however the blog title uses the same .main-title class as all other page titles and I can't find a way to isolate it, or put a class/ID on it. The node.tpl.php seems to engage further down the post, so I'm uncertain if that could be hacked.

JavaScript in the page with "Input format" = "Filtered HTML"

Hi,

I have default content filter settings "Input format" = "Filtered HTML" and want to keep it this way (security), but from other hand I need to activate JavaScript onClick event to use Google Analytics JavaScript code.

Filtered HTML strips out all tags with exception of those mentioned in the site settings. Again, those default are good.

Does anybody knows the way to use onClick event to trigger JavaScript AND keep "Input format" = "Filtered HTML" in a way

Creating the franken-site; getting content out of Drupal

This is really a set of notes for myself, so I can document what I'm trying to do and hopefully be able to reproduce it in the future.

I have two sites right now - a Wordpress blog at /, and in /more, a Drupal site. I'm working on a new theme for both that includes content from each on the other, with some interesting ways to switch between them.

changing layouts

hi,

is there anyway to change the layouts on different pages. for example on the home page show 2 columns each 50% wide and on another 2 columns on only 20%.

thanks for you help

dave.

Page Headers

I'm working on integrating Drupal with an existing site right now, and I can't seem to get it to stop printing body !DOCTYPE and all that. I've completely erased any mention of them from the sources files, so where are they hiding?

CSS rollover works in Firefox but not in IE?

Would be grateful to anyone who can point out what I'm missing in the code below. Basically, this works just fine in Firefox / Mozilla but the rollover image just will not appear in IE 6 or 7. Can anyone see why? (I'm pulling my hair out here!)

Pages

Subscribe with RSS Subscribe to RSS - Theme development