Background

  • Polito
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 5 months ago #3161 by Polito
Background was created by Polito
Hello,

First thank you for the greate ecommerce template. I want to know how i can use a background picture and the background color at the same time,like the others templates. I try to edit the layout.css (see below), but I doesn´t work. :( which files I need to edit?

body {
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
background: url(../images/bg.jpg) no-repeat center top;
}

Could you help me?? :unsure:

And another question. I can not see the feature font resizer at the demo site.
how I can configure it?.

Thank you in advance for your support.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 5 months ago - 14 years 5 months ago #3165 by milos
Replied by milos on topic Re: Background
Yes, you can add both color and image as:
Code:
background: #fffff url(../images/bg.jpg) no-repeat center top;
Make sure that you edited template_css.php file as well, and in this file delete line
Code:
background:<?php echo $backgroundColor; ?> url(<?php echo $template_path ?>/images/bg<?php echo $headerBgImage ?>.png) top center no-repeat;
Background of your site will not be changeable through template parameters after that.

To enable font resizer, go to Module Manager and enable its module.
Last edit: 14 years 5 months ago by milos.
The following user(s) said Thank You: Polito

Please Log in to join the conversation.

  • Polito
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 5 months ago #3193 by Polito
Replied by Polito on topic Re: Background
Hi Milos,

Thank you for your fast answer :)

It works I have the background color and background image, but now i have only the header BG Image (Arc) at the top menu. the bg1.png..bg5.png background is not there anymore after I have edited the template_css.php :(

What i need to edit now? Sorry Im a newbie :blush:

Thank you again for your help

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 5 months ago #3194 by milos
Replied by milos on topic Re: Background
What are you trying to achieve? What exactly background image you want and what background color you want?

Please Log in to join the conversation.

  • Polito
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 5 months ago #3204 by Polito
Replied by Polito on topic Re: Background
Hi,

i want something like the HOT DesignNow template, but the background bg<?php echo $headerBgImage ?>.png at the top menu is missing (see attachment) after I edited the layout.css
body {
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
background: url(../images/bg.jpg) no-repeat center 187px;
background-color: #FFFFFF;

}

and delete the line in the template_css.php file

background:<?php echo $backgroundColor; ?> url(<?php echo $template_path ?>/images/bg<?php echo $headerBgImage ?>.png) top center no-repeat;

What i need to edit, if I want to use all these backgrounds?


I have noticed some title alignment problems inside the show cart and size window problems if I use the zoom levels in IE 8, but I don’t have no problems with firefox.

there is a template issue with IE 8?
Attachments:

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 5 months ago #3209 by milos
Replied by milos on topic Re: Background
In this case you should just edit background image in Photoshop and add the top area. You don't need to touch CSS.

What you mean by "zoom levels" in VM?

Please Log in to join the conversation.

Time to create page: 0.190 seconds
Powered by Kunena Forum