[Support request] Custom Bullet points

Home Forums Support [Support request] Custom Bullet points

Home Forums Support Custom Bullet points

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #909741
    James

    Hi I want my bullet points to be a blue arrow icon, does anyone know how to do this, or is this already in the theme? I’m struggling to make the content look good on this theme, it looks like a word document.

    #909818
    Leo
    Staff
    Customer Support

    Hi there,

    The theme doesn’t add any specific style to things like this – it’s all HTML so it would be the same in a twenty series WordPress theme.

    Would something like this work for you?
    https://codepen.io/PhillyWebGuy/pen/ObEZPW

    #910086
    James

    Hi Leo,

    I think you are on the right spot with customising the CSS.

    But I do not wish for anything standard like black arrows, I was thinking more custom icons. E.G CSS code which lists a link to an icon?

    Kind of like this

    “.entry-content ul li{
    font-weight: bold;
    list-style-image:url(http://mysite.com/images/bullet-16×16.png);
    }”

    But due to my coding skills I am unsure about the code I should be using for my site, and also what would I use as the link? would I upload the custom icon to my WP and link to there? seems so confusing.

    #910091
    Leo
    Staff
    Customer Support

    That should work. See example here:
    https://www.w3schools.com/cssref/tryit.asp?filename=trycss_list-style-image

    If so your CSS selector would be: .entry-content ul

    And yes, upload the image to the media library then add the link in the url spot.

    #910092
    James

    Thanks I checked the link but not sure how to incorperate.

    Would I go into “additional CSS”

    And add

    .entry-content ul li{
    font-weight: bold;
    list-style-image:url(http://xxxxx.com/bulletpointsimage);
    }”

    #910094
    Leo
    Staff
    Customer Support
    #910095
    James

    So would this be the correct code for the theme I am using?

    .entry-content ul li{
    font-weight: bold;
    list-style-image:url(http://xxxxx.com/bulletpointsimage);
    }

    #910096
    Leo
    Staff
    Customer Support

    Try this:

    .entry-content ul {
        list-style-image:url(http://xxxxx.com/bulletpointsimage);
    }
    #910282
    James

    Cheers Leo,

    I am thinking about using multiple bulletpoint images, so the first bullet point would be a circle with the number 1 in it, the second bulletpoint would be a cirlce with a number 2 in it ect,

    Looking at other peoples code on different themes they would do it like this,

    ul.mybullet1 li {
    list-style-image:url('FULL-URL-TO-YOUR-UPLOADED-IMAGE-GOES-HERE');
    }
    
    ul.mybullet2 li {
    list-style-image:url('FULL-URL-TO-YOUR-UPLOADED-IMAGE-GOES-HERE');
    }

    And then they would call it in the text of the content like this

    <ul class="mybullet">
    <li> bullet 1 </li>
    </ul>

    How would it work for this theme? as in the above code I cannot see an identifier to call the bullet point

    #910613
    Leo
    Staff
    Customer Support

    Just make sure the name of the unique class matches in the CSS and HTML, which currently doesn’t:
    https://www.screencast.com/t/8jgMpZMCJwkW

    This is just HTML & CSS so would be the same regardless which theme you are using.

    #915537
    James

    Hi Leo,

    This worked perfectly, do you know how I could do the same with headers? E.G I want a blue line graphic image underneath H1, H2, H3, H4 and H5.

    #915538
    James

    After double checking, the custom bullet point images only appear on posts and not pages

    #915611
    Leo
    Staff
    Customer Support

    Try changing the selector from:
    .entry-content ul
    to
    .inside-article ul

    #915627
    James

    Just tried the “inside-article” now, it still works for posts but still does not work for pages.

    #915631
    Leo
    Staff
    Customer Support

    Where can I see the example of pages with <ul>?

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