If someone could post the exact php fragment and where to place it in order to change the size of the image, it would be great. I know the code is in the docs but I don't know any php and could not figure out where to put it exactly. Many thanks in advance.

Comments

danpros’s picture

Hi,

You can put it in page-front.tpl.php inside Danland theme folder.

Dan

Anonymous’s picture

Thanks Dan, I do not know any php.

In the front.php file i found this:

if ($preface):
print $preface;

endif;

and the documentation says to insert this.

#slideshow-wrapper{
width:100%;
background: transparent url(images/slideshow-shadow.gif) no-repeat center bottom;
height:270px;

margin-bottom:-45px;
margin-top:14px;
}

The problem is that I don't know where to insert and what it should look like afterwords. Anyone who could help me over this hurdle would be very welcome. I am in a bind and now and learning some basic php is my next task. Thanks in advance.

danpros’s picture

Hi,

You must change it in style.css not in page-front.tpl.php, find that ids in your style.css.

Dan