- Posts: 6764
- Thank you received: 718
different file format for the header
-
trey-braid
- Topic Author
- Visitor
14 years 2 months ago #3149
by trey-braid
different file format for the header was created by trey-braid
milos quick question... since the header is hard coded in the index.php
if i change from png to jpg is this the only line that needs to be changed?
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="980" height="150" alt="joomla restaurant template" /></a>
to
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.jpg" width="980" height="150" alt="joomla restaurant template" /></a>
thanks again
trey
if i change from png to jpg is this the only line that needs to be changed?
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="980" height="150" alt="joomla restaurant template" /></a>
to
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.jpg" width="980" height="150" alt="joomla restaurant template" /></a>
thanks again
trey
Please Log in to join the conversation.
-
trey-braid
- Topic Author
- Visitor
14 years 2 months ago #3150
by trey-braid
Replied by trey-braid on topic different file format for header & page bg
ok idiot here... i made the adjustment and its fine....
what would i need to edit to change the page bg from a png to jpg as well--is this all i would edit in the template.css.php file?
body {
font-size:<?php echo $mainFontSize; ?>px;
color:<?php echo $bodyText; ?>;
<?php if ($backgroundImage!="none") { ?>
background:<?php echo $backgroundColor; ?> url(<?php echo $template_path; ?>/images/bg_<?php echo $backgroundImage; ?>.png) fixed;
<?php }else{ ?>
background:<?php echo $backgroundColor; ?>;
<?php } ?>
}
to:
body {
font-size:<?php echo $mainFontSize; ?>px;
color:<?php echo $bodyText; ?>;
<?php if ($backgroundImage!="none") { ?>
background:<?php echo $backgroundColor; ?> url(<?php echo $template_path; ?>/images/bg_<?php echo $backgroundImage; ?>.jpg) fixed;
<?php }else{ ?>
background:<?php echo $backgroundColor; ?>;
<?php } ?>
}
thanks
trey
what would i need to edit to change the page bg from a png to jpg as well--is this all i would edit in the template.css.php file?
body {
font-size:<?php echo $mainFontSize; ?>px;
color:<?php echo $bodyText; ?>;
<?php if ($backgroundImage!="none") { ?>
background:<?php echo $backgroundColor; ?> url(<?php echo $template_path; ?>/images/bg_<?php echo $backgroundImage; ?>.png) fixed;
<?php }else{ ?>
background:<?php echo $backgroundColor; ?>;
<?php } ?>
}
to:
body {
font-size:<?php echo $mainFontSize; ?>px;
color:<?php echo $bodyText; ?>;
<?php if ($backgroundImage!="none") { ?>
background:<?php echo $backgroundColor; ?> url(<?php echo $template_path; ?>/images/bg_<?php echo $backgroundImage; ?>.jpg) fixed;
<?php }else{ ?>
background:<?php echo $backgroundColor; ?>;
<?php } ?>
}
thanks
trey
Please Log in to join the conversation.
Time to create page: 0.152 seconds