Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Sportal" Joomla template.

Topic-icon different file format for the header

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
6 years 4 months ago #3149 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

Please Log in to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
6 years 4 months ago #3150 by trey-braid
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

Please Log in to join the conversation.

More
6 years 4 months ago #3152 by milos
Yes, I think it's all you needed to edit.

Please Log in to join the conversation.

Time to create page: 0.109 seconds

Links, Partners and Social Media