-
AuthorPosts
-
August 9, 2024 at 2:32 am #1464194
Could you please look at the screen shot attached and let me know how I can create this effect with an icon/image with the text next to it, and then another one next to that? Just like it show in the sample and want to make sure it looks good on mobile also.
I tired 4 columns but it doesn’t work. And it needs to look just like the sample.
Thanks!
- This topic was modified 3 months, 1 week ago by bemodesign.
August 10, 2024 at 5:01 pm #1464325Hey bemodesign,
Thanks for your patience and the link to your screenshot, but it requires a login, please try a free screenshot service or disable the login requirement.Best regards,
MikeAugust 10, 2024 at 9:49 pm #1464368attached
August 11, 2024 at 1:50 pm #1464398August 15, 2024 at 7:59 am #1464657But what if I want to use my own icon or photo?
August 16, 2024 at 12:16 am #1464729Hi,
You can use css to replace it, see this thread for examplesBest regards,
MikeAugust 17, 2024 at 11:42 pm #1464842Wow, that is incredibly confusing. Can believe there is not an easier option to get this effect. I even tried loading new icon .svg and got errors. Way too difficult for average person.
August 17, 2024 at 11:50 pm #1464843What if I just want to add .svg icons?? I even tried to upload zip files and got errors. This is crazy.
August 18, 2024 at 1:10 pm #1464853Hi,
Sorry, you can not upload svg icons, the theme uses “icon fonts” which is a font file, not a icon image. Please see our documentation here. You may need to scroll down to Adding your own Fontello Icons Icon fonts can not have color.
Perhaps when you clicked my link above it didn’t scroll correctly, try this link.
It’s very simple, you can use css to replace the “icon font” with a svg image
If you create a test page I can write a step-by-step example for you, similar to the screenshot above.Best regards,
MikeAugust 19, 2024 at 12:49 am #1464867Thanks, that would be great if you could do that. Here is a test page and I added some icon example to media if you need one.
August 19, 2024 at 5:29 pm #1464916Hi,
Thanks for the test page, so to have a different SVG icon for each item you need to use a different font-icon for each item so you can use a different code in the css for each item:
I then copied the base css from the example link and added your font-icon codes and your SVG icon URLs:[data-av_iconfont="entypo-fontello"][data-av_icon="\e89f"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/home-icon.png) !important} [data-av_iconfont="entypo-fontello"][data-av_icon="\e8a0"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/people-icon.png) !important} [data-av_iconfont="entypo-fontello"][data-av_icon="\e8a1"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/bed-icon.png) !important} [data-av_iconfont="entypo-fontello"][data-av_icon="\e8a2"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/bath-icon.png) !important}
Then to make the gray backgrounds transparent I added this css:
.page-id-321 .main_color .avia-icon-list .iconlist_icon { background-color: transparent; }
Best regards,
MikeAugust 21, 2024 at 5:37 am #1465025Thanks!
- This reply was modified 2 months, 4 weeks ago by bemodesign.
-
AuthorPosts
- The topic ‘Icon and text style, with 2 columns’ is closed to new replies.