Template Creator et Bootstrap

Replied by ced1870 on topic Template Creator et Bootstrap

Posted 5 years 1 month ago #51922
je regarde ce souci, mais en fait c'est pas si simple ... si je modifie mon code alors tous les boutons qui sont déjà définis sur les templates existants vont sauter et avoir une "gueule" à la bootstrap

Le seul moyen que je vois ici, c'est de créer un css perso pour overrider les styles pour redonner un look Bootstrap. essaie ce code
Code:
.btn-success { color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,0.25); background-color: #5bb75b; background-image: -moz-linear-gradient(top,#62c462,#51a351); background-image: -webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351)); background-image: -webkit-linear-gradient(top,#62c462,#51a351); background-image: -o-linear-gradient(top,#62c462,#51a351); background-image: linear-gradient(to bottom,#62c462,#51a351); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); border-color: #51a351 #51a351 #387038; border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25); *background-color: #51a351; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); } .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] { color: #fff; background-color: #51a351; *background-color: #499249; }
mets le dans Paramètres >> Custom css

si ça marche, alors il suffit de recopier les styles BS qui t'intéressent et les mettre ici pour leur redonner de l'importance

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by FlodAriege on topic Template Creator et Bootstrap

Posted 5 years 3 weeks ago #52060
Nickel, ça marche très bien, merci.
Où puis-je trouver la variantes pour le btn-info ?
(il y a tellement de paramètres dans le css que je n'en comprends pas la moitié:blush:

Il n'y a que celui qui a honte d'apprendre qui a peur de demander

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Template Creator et Bootstrap

Posted 5 years 3 weeks ago #52068
regarde le fichier bootstrap.css du template, fais une recherche avec ton éditeur sur "btn-info", tu trouveras les lignes de la même manière ;)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.791 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 921 guests and one member online