-
AuthorPosts
-
August 10, 2021 at 10:08 am #1316012
Hi,
I would like to put some new icons in a website with text on the right of it. Would prefer when it looks like the symbolbox, but when i put my own icons with text on the right side its never centered. Can you help me there?many greetings rixi
August 11, 2021 at 10:10 am #1316231Hey rixi,
I see that you have put both the image and text in the same strong tag. Could you move them into separate span tags instead please? Otherwise it will be difficult to target them individually with CSS. If you would give the tags classes as well, then it will likely be easier yet.
Best regards,
RikardAugust 13, 2021 at 9:56 am #1316577This reply has been marked as private.August 15, 2021 at 5:39 am #1316778Hi,
Thanks for the update. I see that you have the images in a 1/5 element now. It might be easier if you place the image and text in the same column, and wrap them in span tags:
<span>Your image goes here</span><span> And this is your text</span>
You would have to create your own font file to be able to use your icons in the theme, they are currently images. It might be easier to continue using them as images.
Best regards,
RikardAugust 15, 2021 at 9:12 am #1316793Hi Rikard,
I changed it now and now it looks like in the beginning.Ii still have the problem that the text is not centered behind the icon.That looks not right.I just now saw the movie which explains how i can load up other symbols from fontello. This works but there are not many icons by fontello and i would like to load my own icons. On fontello i read now how to load the ownk icons. The Upload works but every icon is filled black still when there ist no outline break. i made the lines very thin, put it on 1000 height but it still doenst look right.
Thanks a lot for your help,
rixi- This reply was modified 3 years, 3 months ago by rixi.
August 16, 2021 at 8:11 am #1316906Hi,
Thanks for the update. You need to add classes to the containing paragraphs, then add this CSS:
p.your-class { display: table-row; }
Then add classes to the spans with the text in it, then add this CSS as well:
span.your-class { display: table-cell; vertical-align: middle; }
Best regards,
RikardAugust 17, 2021 at 9:29 am #1317120This reply has been marked as private.August 18, 2021 at 4:17 am #1317238 -
AuthorPosts
- You must be logged in to reply to this topic.