enmoderugby Posted April 9, 2016 Share Posted April 9, 2016 Bonjour, Quel fichier faut-il modifier pour ajouter un champ texte à droite "appelez-nous" sur le header du thème bootstrap ? Merci Nicolas Link to comment Share on other sites More sharing options...
Mediacom87 Posted April 9, 2016 Share Posted April 9, 2016 Bonjour, en prenant le temps de trouver cet élément à l'aide de firebug, je constate que le css associé à cet élément est themes/default-bootstrap/css/modules/blockcontact/blockcontact.css Donc j'en déduit logiquement que cela correspond au module blockcontact et donc que pour le modifier et y ajouter un élement je doit surcharger, si ce n'est déjà fait, le tpl de ce module qui doit être blockcontact.tpl dans le thème sous themes/default-bootstrap/modules/blockcontact/ Link to comment Share on other sites More sharing options...
enmoderugby Posted April 9, 2016 Author Share Posted April 9, 2016 Bonsoir, Oui c'est ce que je pensais mais du coup un peu compliqué pour moi à modifier. Merci quand même. Nicolas Link to comment Share on other sites More sharing options...
Mediacom87 Posted April 9, 2016 Share Posted April 9, 2016 ????? Compliqué ???? Vous ne savez pas ouvrir un fichier par FTP, le modifier et l'enregistrer sur votre site ? Link to comment Share on other sites More sharing options...
enmoderugby Posted April 9, 2016 Author Share Posted April 9, 2016 Si ça je sais faire, par contre ajouter un champ texte au fichier blockcontact.tpl, je ne sais pas. Il ne s'agit pas de modifier une variable mais d'ajouter un bout de code. Link to comment Share on other sites More sharing options...
Mediacom87 Posted April 9, 2016 Share Posted April 9, 2016 Je ne comprends pas trop votre soucis. Dans le code source du fichier TPL vous avez tout ce qu'il faut pour reproduire et insérer votre texte comme il faut. {l s='Your text' mod='blockcontact'} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now