+Dreaming. Posted October 8, 2014 Report Posted October 8, 2014 Cum pot face ca pe Wlg.ro ca la fiecare categorie, maintite-ul sa aiba alta culoare la gradient?! Multumesc celor ce ma ajuta! seara buna!
Kennzo Posted October 8, 2014 Report Posted October 8, 2014 Știu cã este vorba de 2 coduri special_border... Nimic mai mult.. Vb cu Courage, deși nu stiu daca iti va da ceva din tema lui. 1
+Andrei D. Posted October 8, 2014 Report Posted October 8, 2014 (edited) Codurile css ti le dau eo daca vrei da iti mai trebuie si Template .special_border { height: 1px; width: 100%; background: -moz-linear-gradient(left, #a00 0%, #0C0F13 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#aa0000), color-stop(100%,#0C0F13)); background: -webkit-linear-gradient(left, #a00 0%,#0C0F13 100%); background: -o-linear-gradient(left, #a00 0%, #0C0F13 100%); background: -ms-linear-gradient(left, #a00 0%,#0C0F13 100%); background: linear-gradient(to right, #a00 0%,#0C0F13 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } .special_border2 { height: 1px; width: 100%; background: -moz-linear-gradient(left, #3096b8 0%, #0C0F13 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#5b879c), color-stop(100%,#0C0F13)); background: -webkit-linear-gradient(left, #5b879c 0%,#0C0F13 100%); background: -o-linear-gradient(left, #3096b8 0%, #0C0F13 100%); background: -ms-linear-gradient(left, #3096b8 0%,#0C0F13 100%); background: linear-gradient(to right, #3096b8 0%,#0C0F13 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } .special_border3 { height: 1px; width: 100%; background: -moz-linear-gradient(left, #eb5210 0%, #0C0F13 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#CD5E31), color-stop(100%,#0C0F13)); background: -webkit-linear-gradient(left, #CD5E31 0%,#0C0F13 100%); background: -o-linear-gradient(left, #eb5210 0%, #0C0F13 100%); background: -ms-linear-gradient(left, #eb5210 0%,#0C0F13 100%); background: linear-gradient(to right, #eb5210 0%,#0C0F13 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } .special_borderchat { height: 1px; width: 100%; background: -moz-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#aa0000), color-stop(50%,#5b879c), color-stop(100%,#CD5E31)); background: -webkit-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: -o-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: -ms-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: linear-gradient(to right, #a00 0%,#5b879c 50%, #CD5E31 100%, ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } Edited October 9, 2014 by Courage spoiler 1
+#Republic Posted October 9, 2014 Report Posted October 9, 2014 Codurile css ti le dau eo daca vrei da iti mai trebuie si Template .special_border { height: 1px; width: 100%; background: -moz-linear-gradient(left, #a00 0%, #0C0F13 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#aa0000), color-stop(100%,#0C0F13)); background: -webkit-linear-gradient(left, #a00 0%,#0C0F13 100%); background: -o-linear-gradient(left, #a00 0%, #0C0F13 100%); background: -ms-linear-gradient(left, #a00 0%,#0C0F13 100%); background: linear-gradient(to right, #a00 0%,#0C0F13 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } .special_border2 { height: 1px; width: 100%; background: -moz-linear-gradient(left, #3096b8 0%, #0C0F13 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#5b879c), color-stop(100%,#0C0F13)); background: -webkit-linear-gradient(left, #5b879c 0%,#0C0F13 100%); background: -o-linear-gradient(left, #3096b8 0%, #0C0F13 100%); background: -ms-linear-gradient(left, #3096b8 0%,#0C0F13 100%); background: linear-gradient(to right, #3096b8 0%,#0C0F13 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } .special_border3 { height: 1px; width: 100%; background: -moz-linear-gradient(left, #eb5210 0%, #0C0F13 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#CD5E31), color-stop(100%,#0C0F13)); background: -webkit-linear-gradient(left, #CD5E31 0%,#0C0F13 100%); background: -o-linear-gradient(left, #eb5210 0%, #0C0F13 100%); background: -ms-linear-gradient(left, #eb5210 0%,#0C0F13 100%); background: linear-gradient(to right, #eb5210 0%,#0C0F13 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } .special_borderchat { height: 1px; width: 100%; background: -moz-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#aa0000), color-stop(50%,#5b879c), color-stop(100%,#CD5E31)); background: -webkit-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: -o-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: -ms-linear-gradient(left, #a00 0%,#5b879c 50%, #CD5E31 100%, ); background: linear-gradient(to right, #a00 0%,#5b879c 50%, #CD5E31 100%, ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0C0F1300', endColorstr='#0C0F1300',GradientType=1 ); } Degeaba l-ai dat , ca trebuie un cod in boardIndexTemplate pentru activare, dupa </h3> ceva gen special_border2_#category_xx . Nu e codu' bun , doar am dat un exemplu.
Kennzo Posted October 9, 2014 Report Posted October 9, 2014 Are alta smecherie! nu e adaugat asa! .. cred, dar nu sunt sigur .. s-a orientat dupa ID categoriei si a adaugat acele gradient-uri! 1
+Andrei D. Posted October 9, 2014 Report Posted October 9, 2014 Kennzo daca te uiti in sursa situ-lui gasesti css si coduri pentru fiecare cateogrie. Eo asa am vazut. Dar nush cum sa le modific sa pot sa le fac ca acolo 1
Kennzo Posted October 9, 2014 Report Posted October 9, 2014 Kennzo daca te uiti in sursa situ-lui gasesti css si coduri pentru fiecare cateogrie. Eo asa am vazut. Dar nush cum sa le modific sa pot sa le fac ca acolo Eu am reusit deja! nu mai este nevoie! e prea usor.. 1
Moderators Solution Courage Posted October 9, 2014 Moderators Solution Report Posted October 9, 2014 Board index template, Înainte de {parse replacement="header_end"} Adăugaţi <if test="$_data['cat_data']['id'] == xx"><div class='clasa_css_gradient'></div> </if> Unde xx = ID-ul categoriei. 4
Moderators gadeas Posted October 9, 2014 Moderators Report Posted October 9, 2014 Sau mai simplu/optimizat daca aveti 10 categorii, adaugati inloc de ( sa nu faceti 10 randuri de if ): <if test="$_data['cat_data']['id'] == xx"><div class='clasa_css_gradient'></div> </if> Urmatorul: <div class='clasa_bordura_{$_data['cat_data']['id']}'></div> Numaru la clasa trebuie sa fie aceasi cu numaru de la categorie. Daca categoria este 15, atunci trebuie sa aveti clasa: clasa_bordura_15 3 PHP Developer - Not available for freelancing right now Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament
asdasd Posted January 24, 2015 Report Posted January 24, 2015 Nu imi merge as vrea ca pe max-cs. daca nu se supara kennzo (sunt FaNtEzYe) sigur nu se supara
asdasd Posted January 24, 2015 Report Posted January 24, 2015 Stiu asta. Ma poate ajuta cineva pas cu pas va rog frumos?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now