Jump to content
  • 0

Culori Legenda


Al3xC

Question

7 answers to this question

Recommended Posts

  • 0

Mai intai trebuie sa dai clase fiecarui grup din ACP, exemplu la administrator 

<span class="admin">

Cu asta completezi primul camp si cu urmatorul, al doilea.

</span>

Apoi trebuie pentru fiecare clasa sa ii faci css-ul, care nu e deloc complicat, depinde de cum te descurci tu cu HTML si CSS. Daca vrei setarile astea doar pe o tema faci css-ul separat in tema, daca vrei pe fiecare template faci css-ul in HTML direct prin "style".

.admin {
    background: rgb(207 0 0);
    background: linear-gradient(90deg, rgb(255 0 0), rgb(255 103 103));
    -webkit-background-clip: text;
    font-weight: 600;
    -webkit-text-fill-color: transparent;
}

Cam asa ar arata css-ul pentru grupul admin, facut in tema.

<span class="admin" style="background: rgb(207 0 0); background: linear-gradient(90deg, rgb(255 0 0), rgb(255 103 103)); -webkit-background-clip: text; font-weight: 600; -webkit-text-fill-color: transparent;">

Si cam asa ar arata varianta HTML, spatiile dintre setarile css nu sunt obligatorii ( cele de dupa ; ), dar mie imi place sa fiu mai organizat.

Daca nu te descurci te ajut eu, doar spune-mi. ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.