Hello CC users
I am trying to learn how to put a background in a particular row
IF I have a row I have tag named header I would like to put a background image into that row only. Two variations - would like to put a small slice of a fill and repeat it or place a jpg png behind the copy I have
http://tippingproductions.com/tpc/demosite9/
thanks in advance
Byron
I am trying to learn how to put a background in a particular row
IF I have a row I have tag named header I would like to put a background image into that row only. Two variations - would like to put a small slice of a fill and repeat it or place a jpg png behind the copy I have
http://tippingproductions.com/tpc/demosite9/
thanks in advance
Byron
Here is an example from a website I am developing
This gives the background image to my header that can be viewed here.
http://misterwebguy.com/KMSWebsite/
.row.row-1 {
background-color: green;
background-image:url("../images/topbg.png");
background-repeat:repeat-x repeat-y ;
border-style:solid;
border-bottom:solid #f1373a;
box-shadow: 10px 10px 5px #888888;
}
background-color: green;
background-image:url("../images/topbg.png");
background-repeat:repeat-x repeat-y ;
border-style:solid;
border-bottom:solid #f1373a;
box-shadow: 10px 10px 5px #888888;
}
This gives the background image to my header that can be viewed here.
http://misterwebguy.com/KMSWebsite/
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
do I put that in the main.css ?
No you should never modify the main.css because if you export your layout again it will over write this css.
I create a custom.css and place all my customizations in there then link it to your layout pages.
I create a custom.css and place all my customizations in there then link it to your layout pages.
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Makes sense - I come from Dreamweaver and was using absolute positioning. I amd now using RLM and CC HTML Editor and my css training has holes it it! Is there something I can read as to how do that?
Thanks
Byron
Thanks
Byron
So lookling at your s I need to rename my header row?
No you dont have to rename it. I located the row i wanted the background and used the code to add the background. So you need to locate your header row and use it instead.
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Here is a good resource to use
http://www.coffeecup.com/help/articles/ … art-guide/
http://www.coffeecup.com/help/articles/ … art-guide/
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Tell me if this is a bad thing to do - Put a background color in the header area. Then saved and open in Editor. took color command out and placed this
body > .row.row-1 {
background-image:url("../images/banner.png");
Thanks for the colde I would have never figured that one out
thanks again
Byron
body > .row.row-1 {
background-image:url("../images/banner.png");
Thanks for the colde I would have never figured that one out
thanks again
Byron
You're very Welcome,
Did you make the change I didn't notice anything yet?
Did you make the change I didn't notice anything yet?
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.