Move sidebar up
Hi,
First of all thanks for a lovely theme. I have tried to get specific layout / style for a new website, Atahualpa was by far easiest theme to use. I would like to move the left sidebar up with a fixed number of pixels to make it properly align with the top menu bars and the rotating header image (which has left margin of 200 px). Currently using Dynamic Headers for the rotaing header image, don't want header image on all pages. Also with default rotating header image I can't get this to work. I know it's possible, done this already some time ago, however didn't write-up the necessary changes. :( If I remember correctly it was just setting top margin on some page element, not sure though. I have also tried inserting Dynamic Headers in standard imagecontainer (%image) by making small change in php code. This works fine, however on pages which have no image set the imagecontainer keeps set height, so instead of image large white space is shown. Website is http://www.dafclub-oud.nl/wordpress/. WP 3.0.3, Atahualpa 3.4.9 Any help or suggestions would be highly appreciated. |
I tried the absolute positioning but had problems in IE. It could have just been my test site which is a mess so go ahead and try it but I just wanted you to know what happened to me in case it happens to you.
|
Quote:
Position absolute on td#left will mess up complete layout, even if I set position static or relative on tr#bodyrow, at least in IE7/8 (which I prefer for testing, if it works in IE it will most of the time also render OK in other browsers), so same experience as Larry. With position relative on td#left I can move the Sidebar(s) up, however on pages without the header image it will then move up too far. I think I will try and find a way to set the image to appear at the top of Main Column (td#id middle), just need to figure out how to get this done (without getting text around the image). Suggestions welcome! :)OK, this idea basically works fine. :) After installing the Dynamic Headers plugin you only need to add the following code at the top of "ATA options, Style and Edit Center Colum, CONTENT ABOVE THE LOOP" Code:
<div id="head_img"><?php if(function_exists('show_media_header')){ show_media_header(); } ?></div> Quote:
I'm using Dynamic Headers plugin, using the code below to configure the header area: Code:
%logo %pages %cat-right <div id="head_img"><?php if(function_exists('show_media_header')){ show_media_header(); } ?></div> |
One suggestion that make things a bit easier is to set the width of the layout to static.
|
All times are GMT -6. The time now is 10:18 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.