Hi,
I would like to know if you can insert an image instead of an icon in the “Icon Box”. Otherwise, if I can do the same graphics as “Icon Box” but insert my image instead of an icon.
Thank you for your support.
Hey Manuela,
Thank you for your patience, to use an image instead of an icon in the icon box element, add a custom class to the icon box you wish to change, for this example we will use custom-image-icon note there is no dot before the class.
then add this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:
.custom-image-icon .iconbox_icon {
background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png);
height: 23px;
background-size: contain;
background-repeat: no-repeat;
background-position: 50% 50%;
}
.custom-image-icon .iconbox_icon:before { display: none; }
the expected results:
To use multiple images use a different class for each image.
After applying the css, please clear your browser cache and check.
Best regards,
Mike
You must be logged in to reply to this topic.