Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #1316231

    Hey 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,
    Rikard

    #1316577
    This reply has been marked as private.
    #1316778

    Hi,

    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,
    Rikard

    #1316793

    Hi 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.
    #1316906

    Hi,

    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,
    Rikard

    #1317120
    This reply has been marked as private.
    #1317238

    Hi,

    Thanks for the update. It’s very useful to know at least basic CSS, if you want to customise your sites :-)

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.