Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #843877

    Hi Guys,

    a little time ago someone gave me a css code for bullets. Now i have used them but the client wants them centered from the text.

    This is the code;
    ul.disc, .entry-content-wrapper ul {
    list-style: none!important;
    line-height: 30px;
    }
    .entry-content-wrapper ul li:before {
    content: ‘\00b7’!important;
    font-size: 100px!important;
    vertical-align: middle!important;
    line-height: 80px!important;
    margin-left: -20px!important;

    }

    adding margin-top or margin-bottom doesnt work for the bullets only.

    Is there an other way to have the text centered next to the bullets? Now it looks like the bullets are a little lower than the text. See link in PC

    #844209

    Hey Angelo,

    Can you post a mockup of what you want to achieve? is it centering horizontally or vertically?

    Best regards,
    Nikko

    #844438

    Hi Nikko,
    I have discussed it with the client today. We are going to use the standard bullets from wordpress now and in one color. He did wanted those but in different colors on different pages. But we have found an other solution now for it.

    Thanks anyhow!

    #844487

    Thank you for updating us! Please let us know here in the forums if you need help with anything else.

    Best regards,
    Sarah

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Bullet same height as text’ is closed to new replies.