Wordpress / Custom Footer -
i'm new wordpress. have bought 1 of themes , have being trying add gradient our footer. theme provides custom css option, when add code custom css , save don't see changes.
this code added footer:
.footer { background: #87e0fd; background: url(data:image/svg+xml;base64,pd94bwwgdmvyc2lvbj0ims4wiia/pgo8c3znihhtbg5zpsjodhrwoi8vd3d3lnczlm9yzy8ymdawl3n2zyigd2lkdgg9ijewmcuiighlawdodd0imtawjsigdmlld0jved0imcawidegmsigchjlc2vydmvbc3bly3rsyxrpbz0ibm9uzsi+ciagpgxpbmvhckdyywrpzw50iglkpsjncmfklxvjz2ctz2vuzxjhdgvkiibncmfkawvudfvuaxrzpsj1c2vyu3bhy2vpblvzzsigede9ijaliib5mt0imcuiihgypsiwjsigeti9ijewmcuipgogicagphn0b3agb2zmc2v0psiwjsigc3rvcc1jb2xvcj0iizg3ztbmzcigc3rvcc1vcgfjaxr5psixii8+ciagica8c3rvccbvzmzzzxq9ijm4jsigc3rvcc1jb2xvcj0iiznmotninsigc3rvcc1vcgfjaxr5psixii8+ciagica8c3rvccbvzmzzzxq9ijewmcuiihn0b3aty29sb3i9iimwmtjlm2eiihn0b3atb3bhy2l0et0imsivpgogidwvbgluzwfyr3jhzgllbnq+ciagphjly3qged0imciget0imcigd2lkdgg9ijeiighlawdodd0imsigzmlsbd0idxjskcnncmfklxvjz2ctz2vuzxjhdgvkksiglz4kpc9zdmc+); background: -moz-linear-gradient(top, #87e0fd 0%, #3f93b5 38%, #012e3a 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#87e0fd), color-stop(38%,#3f93b5), color-stop(100%,#012e3a)); background: -webkit-linear-gradient(top, #87e0fd 0%,#3f93b5 38%,#012e3a 100%); background: -o-linear-gradient(top, #87e0fd 0%,#3f93b5 38%,#012e3a 100%); background: -ms-linear-gradient(top, #87e0fd 0%,#3f93b5 38%,#012e3a 100%); background: linear-gradient(to bottom, #87e0fd 0%,#3f93b5 38%,#012e3a 100%); filter: progid:dximagetransform.microsoft.gradient( startcolorstr='#87e0fd', endcolorstr='#012e3a',gradienttype=0 ); }
it's little hard give accurate answer based on such limited information, try nonetheless.
your css valid. i've thrown quick test, , seems working in both firefox chrome. you're there.
the common problems , solutions:
mixing id's , classes: using class 'footer', indicated in css dot @ beginning. chances footer using id, written hash. can change selector
#footer
.the footer empty: if element in html empty, causes element 0 pixels in height, makes invisible. add , adapt following second line of css:
height: 256px;
Comments
Post a Comment