inherit
244143
0
Apr 27, 2017 14:51:26 GMT -8
playfullynx
2
April 2017
playfullynx
|
Post by playfullynx on Apr 26, 2017 21:41:54 GMT -8
Hi I created a custom homepage and I am struggling a little with the codeing. I am wanting to create a custom background for my zones. I have the img already made I just need to tell the site to use it, do I do this by typing it into my css if so what would that code look like. Or do I style it in the html? if so what would that look like.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 26, 2017 23:43:04 GMT -8
The id's would be:#zone_1 or #zone_2, etc.. So adding a background image would be:
<style> #zone_1{background-image:url(http://your-image); } #zone_2{background-image:url(http://your-image); } </style>
Click the html tab on your custom page (Admin > Structure> Custom Pages> HTML> and add the css there. Hopefully, that answers your question.
|
|
inherit
244143
0
Apr 27, 2017 14:51:26 GMT -8
playfullynx
2
April 2017
playfullynx
|
Post by playfullynx on Apr 27, 2017 10:52:24 GMT -8
I followed what you said and it didn't work
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Apr 27, 2017 15:44:55 GMT -8
I followed what you said and it didn't work Do you have a link to your custom page so the code can be looked at?
|
|