- Posts: 13
- Thank you received: 0
Change backgroundcolour content wrap
-
soedesh
Inactive member -
Topic Author
- New Member
-
Less
More
13 years 10 months ago #8407
by soedesh
Change backgroundcolour content wrap was created by soedesh
I want to ask you something about the Cameleon template. I have installed it on
www.shivavandana.nl
All works fine, but I want to change the content wrap (which is black now) into transparant just like the background of the carousel on the homepage. Can you please advise me how to fix this.
All works fine, but I want to change the content wrap (which is black now) into transparant just like the background of the carousel on the homepage. Can you please advise me how to fix this.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #8418
by ivan.milic
Replied by ivan.milic on topic Re: Change backgroundcolour content wrap
That is defined in template_css.php file:
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:<?php echo $contentBg; ?>;
}
Depending if you are using predefined style or custom value of $contentBg is taken from styles/style<N>.pnp if you use Style <N> or from template parameters if you are using custom style.
Anyway you can just do this if you just want quick go:
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:transparent;
}
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:<?php echo $contentBg; ?>;
}
Depending if you are using predefined style or custom value of $contentBg is taken from styles/style<N>.pnp if you use Style <N> or from template parameters if you are using custom style.
Anyway you can just do this if you just want quick go:
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:transparent;
}
Please Log in to join the conversation.
-
soedesh
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
13 years 10 months ago - 13 years 10 months ago #8429
by soedesh
Replied by soedesh on topic Re: Change backgroundcolour content wrap
Hi Ivan,
Thanks for your solution, but what I actually want is, to use this (url("../images/content_bg.png"); for the background. Is that also possible?
GrTz,
Soedesh
Thanks for your solution, but what I actually want is, to use this (url("../images/content_bg.png"); for the background. Is that also possible?
GrTz,
Soedesh
Last edit: 13 years 10 months ago by soedesh.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #8434
by ivan.milic
Replied by ivan.milic on topic Re: Change backgroundcolour content wrap
Yes , just do this:
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:transparent url("../images/content_bg.png") 0px 0px no-repeat;
}
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:transparent url("../images/content_bg.png") 0px 0px no-repeat;
}
Please Log in to join the conversation.
-
soedesh
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
13 years 10 months ago - 13 years 10 months ago #8451
by soedesh
Replied by soedesh on topic Re: Change backgroundcolour content wrap
Hi Ivan,
I have tried this code, but no succes. Do you have any idea what could be wrong.
Thanks in advance.
GrTz,
Soedesh
UPDATE:
I have changed the code to
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:url(<?php echo $template_path; ?>/images/content_bg.png);
This seems to work.
I have tried this code, but no succes. Do you have any idea what could be wrong.
Thanks in advance.
GrTz,
Soedesh
UPDATE:
I have changed the code to
#content_wrap {
width:<?php echo $contentWidth; ?>px;
background:url(<?php echo $template_path; ?>/images/content_bg.png);
This seems to work.
Last edit: 13 years 10 months ago by soedesh.
Please Log in to join the conversation.
-
soedesh
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
13 years 10 months ago #8486
by soedesh
Replied by soedesh on topic Re: Change backgroundcolour content wrap
Hi Ivan,
Can you please tell me in which file I can edit these elements.
slideViewer {
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0;
padding-left: 0; <
padding-right: 0;
padding-top: 0;
position: relative;
}
and this
#hot-joomla-gallery-wrapper {
-moz-border-bottom-colors: none;
-moz-border-image: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-attachment: scroll;
background-clip: border-box;
background-color: #000000; <
Thanks in advance
Can you please tell me in which file I can edit these elements.
slideViewer {
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0;
padding-left: 0; <
padding-right: 0;
padding-top: 0;
position: relative;
}
and this
#hot-joomla-gallery-wrapper {
-moz-border-bottom-colors: none;
-moz-border-image: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-attachment: scroll;
background-clip: border-box;
background-color: #000000; <
Thanks in advance
Please Log in to join the conversation.
Time to create page: 0.084 seconds