Closed (fixed)
Project:
Sky
Version:
6.x-3.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2010 at 21:48 UTC
Updated:
23 Apr 2011 at 02:34 UTC
Pardon the n00b question, but I can't for the life of me figure out how to position a new header region, in which I'd like to place the userloginbar block.
I've added the region in sky.info, and added the following to page.tpl.php:
<?php if ($header): ?>
<span id="site-myheaderblock"><?php print $header; ?></span>
<?php endif; ?>
As you can see, I was trying to copy the general style of site-slogan, et al. So, I added a #header #site-myheaderblock item to style.css, but it seems like no matter how I try to position the region, it always shows below the two sidebars and above content top.
Any help is appreciated, as I am very obviously a css neophyte.
Comments
Comment #1
intent commentedAfter improving my CSS a little I figured this out.
Comment #2
Smiless commentedHey I like to do the same already for a few days!
But everything i try seems not to work well.
Is it possible that you make a small tutorial?
Or explain a little more?
Comment #3
wallbay1 commentedHi dude
can you please tell us exactly what you did?
thanks