Tagged: x
-
AuthorPosts
-
May 4, 2016 at 2:46 pm #913075
zendog22ParticipantHi guys, please can you tell me how I add a margin to an image wrapped in text? I wrapped the text by searcihng the forum and adding float: left but can’t see how to wrap margin. Thank you
http://kentishandco.staging.wpengine.com/services/May 4, 2016 at 6:55 pm #913431
John EzraMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
div#training img.x-img.x-img-none { margin-right: 30px }Hope this helps – thanks!
May 5, 2016 at 3:57 am #913999
zendog22ParticipantHi, thanks for getting abck to me. Unfortuantely that didn’t do anything. Should it have a . at the start by any chance?
Have tried that too but it doenst work actually.div#training img.x-img.x-img-none {
margin-right: 30px
}You mention the child theme or customizer. I have added quite a lot of code to my customizer. Will this still be there whenever the theme gets updated? Just want to double check.
May 5, 2016 at 4:28 am #914025
zendog22ParticipantI have also tried adding a semi colon to the end but that didn’t work either.
div#training img.x-img.x-img-none {
margin-right: 30px;
}May 5, 2016 at 9:31 am #914314
JoaoModeratorHi There
Please use this instead
div#training img.x-img { margin-right: 30px; }Hope that helps,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-913075 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
