Last active
October 26, 2017 10:21
-
-
Save New0/4e03e7c44e7691f525d8a1ce61d222f2 to your computer and use it in GitHub Desktop.
Add the image via the media library and copy the image url into the src parameter of the img tag in an html field. Position the html field just below the checkbox field.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** All the sizes need to be adjusted to the webpage design and image size **/ | |
/* Add the class image_checkbox to the checkbox field and the class image_display to the html field that contains the image */ | |
.image_checkbox label, | |
.image_display img | |
{ | |
max-width: none; | |
} | |
.image_display { | |
position: absolute; | |
margin-top: -2.5rem; | |
margin-left: 1rem; | |
} | |
/*Add this class to the top fields of the row below the checkboxes*/ | |
.next_field { | |
margin-top: 3rem | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="http://my_domain/wp-content/uploads/2017/10/myimage.jpg" width="85" height="75"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment