Lokita Posted June 9, 2021 Share Posted June 9, 2021 Site URL: https://www.slicedginger.com Hello, I use the icons with recipes denoting if they are vegan, gluten free etc., I want to make a recipe key/legend at the bottom of my post with icons. If use the icons as images they are way too big. Looking to make something that looks like this Link to comment
tuanphan Posted June 10, 2021 Share Posted June 10, 2021 Hi, You can use Image Block, then share url, we can give the code to resize images. Or you can also Add a Code Block >> Paste this code <div class="t-recipe"> <img src="https://cdn.pixabay.com/photo/2021/02/03/20/06/hot-air-balloon-5979187__340.jpg" width="50px"/> <span> Title 01</span> </div> <div class="t-recipe"> <img src="https://cdn.pixabay.com/photo/2021/02/03/20/06/hot-air-balloon-5979187__340.jpg" width="50px"/> <span> Title 02</span> </div> <div class="t-recipe"> <img src="https://cdn.pixabay.com/photo/2021/02/03/20/06/hot-air-balloon-5979187__340.jpg" width="50px"/> <span> Title 03</span> </div> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Lokita Posted June 14, 2021 Author Share Posted June 14, 2021 I used the code block and right now the text is aligned to the bottom, how do I make the text aligned to the center of the icons? Much appreciated. Link to comment
tuanphan Posted June 15, 2021 Share Posted June 15, 2021 15 hours ago, Lokita said: I used the code block and right now the text is aligned to the bottom, how do I make the text aligned to the center of the icons? Much appreciated. Can you share link to page where you added code? We can tweak the code easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Lokita Posted June 15, 2021 Author Share Posted June 15, 2021 Sure, I just added it to an old post at the bottom of the page. https://www.slicedginger.com/home/superfood-fruit-leathers Link to comment
tuanphan Posted June 16, 2021 Share Posted June 16, 2021 15 hours ago, Lokita said: Sure, I just added it to an old post at the bottom of the page. https://www.slicedginger.com/home/superfood-fruit-leathers Add this into Code Block <style> .t-recipe * { vertical-align: middle; margin-right: 10px; } .t-recipe { margin-bottom: 10px; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Lokita Posted June 18, 2021 Author Share Posted June 18, 2021 Worked, thanks so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment