- Posts: 16
- Thank you received: 0
Background image
-
nidirex
Inactive member - Topic Author
- New Member
Less
More
13 years 7 months ago - 13 years 7 months ago #7928
by nidirex
Replied by nidirex on topic Re: Background image
Mmmhhh... no. My idea is to charge a transparent background upper than pattern.. so, I would maintain the pattern on background, and add to this a transparent image.. is possible? Thanks a lot
Last edit: 13 years 7 months ago by nidirex.
Please Log in to join the conversation.
-
nidirex
Inactive member - Topic Author
- New Member
Less
More
- Posts: 16
- Thank you received: 0
13 years 7 months ago #7929
by nidirex
Replied by nidirex on topic Re: Background image
How can I modify php code for add upper than patt_x a transparent image (never repeat this)?
Php code is follow:
Php code is follow:
Code:
body {
color:<?php echo $bodyText; ?>;
<?php if ($backgroundImage!="none") { ?>
background:<?php echo $backgroundColor; ?> url(<?php echo $template_path; ?>/images/patt_<?php echo $backgroundImage; ?>.jpg) <?php echo $repeat; ?>;
<?php }else{ ?>
background:#<?php echo $backgroundColor; ?>;
<?php } ?>
<?php if ($backgroundImage==5) { ?>
background-position:0px 96px;
<?php } ?>
}
<?php if ($backgroundImage==4) { ?>
.wrapper1 {
background:#03468f;
}
<?php } ?>
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #7930
by ivan.milic
Replied by ivan.milic on topic Re: Background image
Hi,
You can maybe remove background, form body and set it to wrapper1-wrapper6 , wrapper , wrapper_r, then add transparent image to .upper
You have this situation:
...
<div class="wrapper">
<div class="wrapper_r" >
<div class="upper" >
...
Also I would recommend you to use chrome browser "Inspect Element" option so you could experiment and achieve your desired look's, because you can change css properties live and instantly see result.
You can maybe remove background, form body and set it to wrapper1-wrapper6 , wrapper , wrapper_r, then add transparent image to .upper
You have this situation:
...
<div class="wrapper">
<div class="wrapper_r" >
<div class="upper" >
...
Also I would recommend you to use chrome browser "Inspect Element" option so you could experiment and achieve your desired look's, because you can change css properties live and instantly see result.
The following user(s) said Thank You: nidirex
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #7931
by ivan.milic
Replied by ivan.milic on topic Re: Background image
You can change <?php echo $repeat; ?>
to one of this values:
repeat
repeat-x
repeat-y
no-repeat
to one of this values:
repeat
repeat-x
repeat-y
no-repeat
Please Log in to join the conversation.
-
nidirex
Inactive member - Topic Author
- New Member
Less
More
- Posts: 16
- Thank you received: 0
13 years 7 months ago #7932
by nidirex
Replied by nidirex on topic Re: Background image
Yes, good idea, I must only be split background image to wrapper 1-2-3 approx. I try this way, many thanks
Please Log in to join the conversation.
-
nidirex
Inactive member - Topic Author
- New Member
Less
More
- Posts: 16
- Thank you received: 0
Time to create page: 0.094 seconds