Closed (fixed)
Project:
Acquia Marina
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2010 at 17:55 UTC
Updated:
11 Mar 2011 at 17:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
drupallooser commentedI tried creating a new region, however, it takes over above the header. I was hoping to get it above the header, basically moving the whole site down.
Something like:
Linked image
Header
Content
Any help would be greatly appreciated.
Comment #2
dman commentedA region is the correct approach.
You should be able to modify your page.tpl.php to place it at any point in the HTML.
If there are conflicts with css positioning, they may have to be sorted out in your css.
screenshot?
Comment #3
drupallooser commentedThanks for the feedback. I have attached a screenshot.
The black bar at the top will have linked titles. As you can see the page is slightly pushed down but the black bar eats up the header and also creates a weird placement of the search bar.
Comment #4
drupallooser commentedAlso, is there a way to make it auto adjust in terms of width depending on the screen size? Thanks.
Comment #5
dman commentedIt's probably just css. Has anything got position:absolute fixing it in place?
Comment #6
drupallooser commentedThanks for your dman.
I am still having issues, I cant get the black bar to move anywhere.
Here is some of the code that I have in place.
I went to the sub themes.info
regions[top_page] = top page
regions[sidebar_first] = sidebar first
regions[sidebar_last] = sidebar last
regions[header_middle] = header middle
regions[header_last] = header last
regions[preface_first] = preface first
regions[preface_middle] = preface middle
regions[preface_last] = preface last
regions[content_top] = content top
regions[content_bottom] = content bottom
regions[postscript_first] = postscript first
regions[postscript_middle] = postscript middle
regions[postscript_last] = postscript last
regions[footer_top] = footer top
regions[footer] = footer
regions[node_bottom] = node bottom
Then
In the acquia marina page.tpl.php
if (!empty($top_page)):print $top_page;endif;printed above the head roughly line 9-12
Then
In layout.css
In the header regions
#top_page {
padding: 0;
height: -1px;
width: inherit;
float: inherit;
margin-top: 10px;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
Right above the Header_Wrapper.
Hopefully this helps a little. I followed the directions to get this code by looking at this page: http://drupal.org/node/307461
Thank you
Comment #7
drupallooser commentedI am so lost. I have look through the CSS and cant seem to find any real culprit to the problem. Unless it has to do with the page.tpl.php file?
Comment #8
goody815 commentedyou can apply the styling to the links within the header...change the background color of the links. add margin and padding accordingly to achieve the same visual effect without having to create a new region. If this is still an issue please re-open and post a link.