This forum is for assistance with theme development.

headerimg in the Kubrick theme

I'm using Drupal 4.6 and the Kubrick theme for 4.6.

I am trying to get the headerimg changed to what I created it. Here is the direct code from the style.css in the Kubrick on how to affect and change the headerimg:

/* Images */
	body	 	{ background: url(kubrickbgcolor.jpg); }
	#page		{ background: url(kubrickbg.jpg) repeat-y top; border: none; }
	#header 	{ background: url(kubrickheader.jpg) no-repeat bottom center; }
	#footer 	{ background: url(kubrickfooter.jpg) no-repeat bottom; border: none;}
			
			
/*	Because the template is slightly different, size-wise, with images, this needs to be set here
	If you don't want to use the template's images, you can also delete the following two lines. */
			
	#header 	{ margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
	#headerimg 	{ margin: 7px 9px 0; height: 192px; width: 740px; } 
/* END IMAGE CSS */
		

/* 	To ease the insertion of a personal header image, I have done it in such a way,
		that you simply drop in an image called 'personalheader.jpg' into your /images/
		directory. Dimensions should be at least 760px x 200px. Anything above that will
		get cropped off of the image. */
		
/*	#headerimg 	{ background: url(personalheader.jpg) no-repeat top;} */	

I have gone through and created a picture called personalheader.jpg. Now, there is no "images" folder in my Drupal install so I was just assuming he meant to use whatever folder you store your images in. I modded the css to look like this:

What does $header display ?

I have just started looking at the code for themes, a I intend on making my own, and I noticed $header, I checked on my site and it never displays anything for $header, just wondered what the use of it is.

Its on line 28 on the blue marine page.tpl.php file

<td colspan="2"><div><?php print $header ?></div></td>

Cheers Nick

FriendsElectric Center Top/Primary Links

I have been working with Drupal for about a week now - obviously not very long. I'm working with the FriendsElectric theme and am making some modifications to it because of a template that I'm using for my client. I would like to center the top links that appear in the header. I can't seem to get the CSS working to accomplish this. I'm hoping that someone else has worked with this theme and has done this same thing.

THANKS!

textarea width, javascript and floating boxes

I've found a great problem. The textareas in 4.7 are replaced with javascript for a fancy resizable textarea but, trying to modify them via css won't work for me...

The problem I have may be a bigger problem.
the "main" div (for content) is a normal block box
but on the right I've got a floating box (right side pane).

Time of Day

I had an idea! I was wondering if it would be possible to automatically change themes based on the time of day (i.e. day and night)? I don't really know where to start on that, but it sounds simple enough. Maybe I'm barking up a huge tree, but if anyone could give me some idea, that would be great!

couple of questions on ecommerce shopping cart and ccard module

I have a couple of questions regarding the ecommerce module:

1) I can easily add products to my shopping cart but when I try to "checkout" I get a blank page as if there
is something wrong with the module. Does anyone have any idea why this happens?

2) Can I set up a payment method by credit card? would that be tha ccard.module? or is that used for something
else?

Can anyone give me any suggestions considering I'm building an ecommerce whereby products would only be order by
a certain minimum amount

Pages

Subscribe with RSS Subscribe to RSS - Theme development