Change backgroundcolour content wrap

  • soedesh
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 2 weeks ago #8407 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.

Please Log in to join the conversation.

More
14 years 2 weeks ago #8418 by ivan.milic
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;
}

Please Log in to join the conversation.

  • soedesh
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 2 weeks ago - 14 years 2 weeks ago #8429 by soedesh
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
Last edit: 14 years 2 weeks ago by soedesh.

Please Log in to join the conversation.

More
14 years 2 weeks ago #8434 by ivan.milic
Yes , just do this:



#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
  • New Member
More
14 years 1 week ago - 14 years 1 week ago #8451 by soedesh
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.
Last edit: 14 years 1 week ago by soedesh.

Please Log in to join the conversation.

  • soedesh
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 1 week ago #8486 by soedesh
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

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum