Tagged: Shortcodes, tables
Good afternoon, I need to insert an icon in the cells of a table (price table). I can put a shortcode that extracts the icon, this is displayed correctly, but from this height of the page, it seems to break the styles of other elements. I have detected that from that point the buttons do not apply custom styles, the columns overlap (in mobile view) and sections and other elements that would have to be hidden on mobile devices do not.
Is there a “safe” way to insert an icon into a cell without breaking the other styles?
Enfold 4.8.6.5 Installed
Thanks
Hey Marcos Q.,
Could you post a link to where we can see the results you are getting please?
Best regards,
Rikard
I attach the links and screenshot in private cotent box
Hi,
Thanks for that. Could you try using a html bullet instead? Just remove the blank spaces between the characters:
& # 8 2 2 6 ;
You could try wrapping it in a span tag as well. If you need further help, then please post admin WordPress login details in private.
Best regards,
Rikard
Hi, I appreciate your suggestion to use html code for the “bullet”. It works fine now.
leaving aside this case … is it possible to use the icons in some other way in the table?
Hi,
Thanks for the update. It should be possible yes, but I’m not sure exactly what is breaking the layout unfortunately. Did you try to add the actual markup instead of the shortcode? If not, then please try something like this:
<span class="av_font_icon avia_animate_when_visible av-icon-style- avia-icon-pos-center avia-icon-animate"><span class='av-icon-char' aria-hidden='true' data-av_icon='' data-av_iconfont='entypo-fontello'></span></span>
Best regards,
Rikard