Hey guys,

i startet to recreate my homepage with the Danland Theme and its really great.

Now i resized the Banner but unfortunately its not centered any more.

Can somebody help me, how to fix this?

With friendly regrets
Sebastian

CommentFileSizeAuthor
Bildschirmfoto.png421.32 KBKampfKarotte
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

selvakumar’s picture

open your danland/style.css- Goto 484 line

Add one more style attribute - text-align: center;

Old style:

#preface-wrapper {
margin:0 auto;
width:950px;
}

New one:

#preface-wrapper {
margin:0 auto;
text-align:center;
width:950px;
}

KampfKarotte’s picture

Hey selvakumar,

i tried it but didnt work. Banner is still on the left side.

But thanks for your help.

Sebastian

noble’s picture

It's not preface-wrapper you have to change. You need to modify #slideshow-wrapper.
I posted my local.css here: http://nopaste.php-q.net/312986
And you have to change the width of the images to 100% in page.tpl.php

<div class="slideshow">
<img src="<?php print $base_path . $directory; ?>/images/slideshows/sea.jpg" width="100%" height="355" alt="slideshow 1"/>
</div>

It makes the layout "liquid", so it fits all browser sizes from 800x600 to 1680x1050.
I tested it only with one sidebar so I don't know what happens with a 3-column layout.
You have to reload the page after resizing the browser window to get the right size for the slideshow image.

Feel free to use this as a base.

regards, noble

danpros’s picture

Hi,

Are you already try to clear the cache? and what change you have done to the theme?

KampfKarotte’s picture

Status: Active » Closed (fixed)

i managed it; thank you for your time and help; closed;