Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
danpros CreditAttribution: danpros commentedHi,
You can put it in page-front.tpl.php inside Danland theme folder.
Dan
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks 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.
Comment #3
danpros CreditAttribution: danpros commentedHi,
You must change it in style.css not in page-front.tpl.php, find that ids in your style.css.
Dan