Lynda Posted January 5, 2020 Share Posted January 5, 2020 Bonjour, Je souhaiterais ajouter une marge de 35 px en haut du bloc "Product comments". J'arrive à faire ça avec l'outil d'inspection, qui me créé : element.style { margin-top: 35px; } Le problème est qu'il ne m'est pas indiqué dans quel fichier il faut que je mette ce code. Avez-vous une idée ? Merci pour votre aide. Link to comment Share on other sites More sharing options...
JuanjoG Posted January 5, 2020 Share Posted January 5, 2020 quelle est l'url? Link to comment Share on other sites More sharing options...
Lynda Posted January 5, 2020 Author Share Posted January 5, 2020 Par exemple : https://www.kalyca.fr/fr/bas/41-jupe-ysane.html Link to comment Share on other sites More sharing options...
JuanjoG Posted January 5, 2020 Share Posted January 5, 2020 il me semble que la marge 0px Link to comment Share on other sites More sharing options...
Lynda Posted January 5, 2020 Author Share Posted January 5, 2020 Tout-à-fait, il n'y a pas de marge. Et pour des raisons d'esthétiques, j'aimerais en ajouter une. Link to comment Share on other sites More sharing options...
JuanjoG Posted January 5, 2020 Share Posted January 5, 2020 Link to comment Share on other sites More sharing options...
JuanjoG Posted January 5, 2020 Share Posted January 5, 2020 entonce maras das 35px Link to comment Share on other sites More sharing options...
Lynda Posted January 5, 2020 Author Share Posted January 5, 2020 Merci, JuanjoG. En effet, je peux faire comme ça, modifier la marge du titre plutôt que de tout le bloc. Cependant, pour pouvoir progresser, j'aimerais bien savoir comment faire pour modifier la marge d'un bloc... Link to comment Share on other sites More sharing options...
JuanjoG Posted January 5, 2020 Share Posted January 5, 2020 .pk-widget.widget-productpagefooter { margin-top: 35px !important; } Link to comment Share on other sites More sharing options...
Mediacom87 Posted January 5, 2020 Share Posted January 5, 2020 Bonjour, dans le fichier custom.css de votre template vous pouvez rajouter cela : #pattern .page-width .page-width div.product-comments { margin-top: 2em; } Link to comment Share on other sites More sharing options...
Lynda Posted January 5, 2020 Author Share Posted January 5, 2020 Merci, Mediacom87, mais ça ne fonctionne pas. Link to comment Share on other sites More sharing options...
Mediacom87 Posted January 5, 2020 Share Posted January 5, 2020 votre fichier est vide donc cela ne risque pas changer grand chose : themes/child_alysum/assets/css/custom.css Link to comment Share on other sites More sharing options...
Andriano Posted January 7, 2020 Share Posted January 7, 2020 Bonjour, il faut juste ajouter du CSS dans le custom.css. Je ne vois pas la difficulté la dedans , pensez à vider la cache. 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